commonjs import
This commit is contained in:
parent
cf631ae2ca
commit
9b34ac3012
1
www/package-lock.json
generated
1
www/package-lock.json
generated
@ -7,6 +7,7 @@
|
||||
"": {
|
||||
"name": "www",
|
||||
"version": "1.0.0",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@threlte/core": "^4.3.2",
|
||||
"@threlte/extras": "^4.3.0",
|
||||
|
@ -60,10 +60,13 @@ export default {
|
||||
browser: true,
|
||||
dedupe: ['svelte']
|
||||
}),
|
||||
commonjs({include: 'node_modules/**'}),
|
||||
commonjs(),
|
||||
typescript({
|
||||
sourceMap: !production,
|
||||
inlineSources: !production
|
||||
inlineSources: !production,
|
||||
compilerOptions: {
|
||||
module: 'commonjs'
|
||||
}
|
||||
}),
|
||||
|
||||
// In dev mode, call `npm run start` once
|
||||
|
Loading…
x
Reference in New Issue
Block a user