diff --git a/www/package-lock.json b/www/package-lock.json index a08f486..9432925 100644 --- a/www/package-lock.json +++ b/www/package-lock.json @@ -7,6 +7,7 @@ "": { "name": "www", "version": "1.0.0", + "license": "ISC", "dependencies": { "@threlte/core": "^4.3.2", "@threlte/extras": "^4.3.0", diff --git a/www/rollup.config.js b/www/rollup.config.js index 0a4681c..a00d404 100644 --- a/www/rollup.config.js +++ b/www/rollup.config.js @@ -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