Skip to content

Commit 8ede67a

Browse files
committed
Merge branch 'main' into ui-improvements
2 parents c40d762 + 324fb4c commit 8ede67a

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

ui/extensions/hello/config/rollup.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ export default defineConfig([
2323
}),
2424
babel({
2525
presets: ["@babel/preset-react"],
26+
babelHelpers: 'bundled',
27+
exclude: 'node_modules/**'
2628
}),
2729
commonjs(),
2830
nodeResolve({
@@ -37,6 +39,7 @@ export default defineConfig([
3739
],
3840
onwarn: (msg, warn) => {
3941
if (msg.code === 'THIS_IS_UNDEFINED') return;
42+
if (msg.code === 'MODULE_LEVEL_DIRECTIVE') return;
4043
if (!/Circular/.test(`${msg}`)) {
4144
warn(msg)
4245
}

ui/extensions/hello/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"private": true,
55
"license": "MIT",
66
"directories": {},
7+
"type": "module",
78
"scripts": {
89
"build": "rollup -c ./config/rollup.config.js",
910
"test": "jest",

ui/extensions/hello/src/pages/home.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ function Home() {
8282
onKeyDown={handleKeyPress}
8383
clearable
8484
style={{ flex: 1 }}
85+
required="true"
8586
></SlInput>
8687
<sl-button
8788
variant="primary"

0 commit comments

Comments
 (0)