File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ appScenarios
1616 addon . pkg . files = [ 'dist' ] ;
1717 addon . pkg . exports = {
1818 './*' : './dist/*.js' ,
19- './addon-main.js ' : './addon-main.cjs' ,
19+ './addon-main.cjs ' : './addon-main.cjs' ,
2020 './package.json' : './package.json' ,
2121 } ;
2222 addon . pkg . scripts = {
Original file line number Diff line number Diff line change @@ -32,9 +32,9 @@ appScenarios
3232 'example-component.css' : '/* not empty */ h1 { color: red }' ,
3333 } ,
3434 'import-from-npm.js' : `
35- export default async function() {
35+ export default async function() {
3636 let { message } = await import('third-party');
37- return message()
37+ return message()
3838 }
3939 ` ,
4040 } ) ;
Original file line number Diff line number Diff line change 1212 "type" : " addon" ,
1313 "version" : 2 ,
1414 "app-js" : {},
15- "main" : " addon-main.js "
15+ "main" : " addon-main.cjs "
1616 },
1717 "exports" : {
1818 "./*" : " ./*"
You can’t perform that action at this time.
0 commit comments