We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4a2747 commit c7b0336Copy full SHA for c7b0336
ui/extensions/hello/config/rollup.config.js
@@ -23,6 +23,8 @@ export default defineConfig([
23
}),
24
babel({
25
presets: ["@babel/preset-react"],
26
+ babelHelpers: 'bundled',
27
+ exclude: 'node_modules/**'
28
29
commonjs(),
30
nodeResolve({
@@ -37,6 +39,7 @@ export default defineConfig([
37
39
],
38
40
onwarn: (msg, warn) => {
41
if (msg.code === 'THIS_IS_UNDEFINED') return;
42
+ if (msg.code === 'MODULE_LEVEL_DIRECTIVE') return;
43
if (!/Circular/.test(`${msg}`)) {
44
warn(msg)
45
}
ui/extensions/hello/package.json
@@ -4,6 +4,7 @@
4
"private": true,
5
"license": "MIT",
6
"directories": {},
7
+ "type": "module",
8
"scripts": {
9
"build": "rollup -c ./config/rollup.config.js",
10
"test": "jest",
0 commit comments