Skip to content

Commit d097e66

Browse files
committed
use expressions-globals package
1 parent 68bb430 commit d097e66

File tree

6 files changed

+58
-688
lines changed

6 files changed

+58
-688
lines changed

package-lock.json

Lines changed: 44 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@
2121
},
2222
"homepage": "https://github.com/motiondeveloper/ebox#readme",
2323
"devDependencies": {
24-
"@rollup/plugin-replace": "^2.3.3",
2524
"@rollup/plugin-typescript": "^5.0.2",
2625
"prettier": "^1.16.4",
27-
"rollup": "^2.23.1",
28-
"rollup-plugin-ae-jsx": "^1.0.1",
26+
"rollup": "^2.26.3",
27+
"rollup-plugin-ae-jsx": "^1.1.3",
2928
"tslib": "^2.0.1",
3029
"typescript": "^3.9.7"
30+
},
31+
"dependencies": {
32+
"expression-globals-typescript": "^1.1.1"
3133
}
3234
}

rollup-plugin-ae-jsx.js

Lines changed: 0 additions & 61 deletions
This file was deleted.

rollup.config.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
import typescript from "@rollup/plugin-typescript";
2-
import afterEffectJsx from "rollup-plugin-ae-jsx";
1+
import typescript from '@rollup/plugin-typescript';
2+
import afterEffectJsx from 'rollup-plugin-ae-jsx';
33

44
export default {
5-
input: "src/index.ts",
5+
input: 'src/index.ts',
66
output: {
7-
file: "dist/eBox.jsx",
8-
format: "cjs",
7+
file: 'dist/eBox.jsx',
8+
format: 'cjs',
99
},
1010
plugins: [
1111
typescript({
12-
module: "esnext",
13-
target: "esnext",
12+
module: 'esnext',
13+
target: 'esnext',
1414
noImplicitAny: true,
15-
moduleResolution: "node",
15+
moduleResolution: 'node',
1616
strict: true,
17-
lib: ["esnext"],
17+
lib: ['esnext'],
1818
}),
1919
afterEffectJsx(),
2020
],

0 commit comments

Comments
 (0)