Skip to content

Commit 59314f7

Browse files
committed
Node>=6 and renamed the module file to esm. fixes#65
1 parent 83d27b6 commit 59314f7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/container-query/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
"version": "2.0.0",
66
"author": "Viktor Hubert <[email protected]>",
77
"engines": {
8-
"node": ">=4"
8+
"node": ">=6"
99
},
1010
"main": "dist/bundle.cjs.js",
11-
"module": "dist/bundle.es.js",
11+
"module": "dist/bundle.esm.js",
1212
"scripts": {
1313
"test": "jest && yarn run build && yarn run size",
1414
"prebuild": "flow check",
15-
"build": "rollup -c rollup/rollup.es.js && rollup -c rollup/rollup.cjs.js && rollup -c rollup/rollup.umd.js",
15+
"build": "rollup -c rollup/rollup.esm.js && rollup -c rollup/rollup.cjs.js && rollup -c rollup/rollup.umd.js",
1616
"size": "size-limit"
1717
},
1818
"devDependencies": {

packages/container-query/rollup/rollup.es.js renamed to packages/container-query/rollup/rollup.esm.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import sharedConfig from "./rollup.shared";
44

55
sharedConfig.output = [
66
{
7-
file: __dirname + "/../dist/bundle.es.js",
7+
file: __dirname + "/../dist/bundle.esm.js",
88
format: "es"
99
}
1010
];

0 commit comments

Comments
 (0)