Type
JsConfig
From mothwing ยท src/config.js:47
Each file is bundled to the same path in the build, js/index.js -> /js/index.js.
Properties
scriptsoptional | string[] | For <x-js src="..."/>, bundled on their own |
|---|---|---|
modulesoptional | string[] | For <x-js src="..." module/>, ES modules that share their common code in chunks |
chunksoptional | string | Where the shared chunks go. A chunks folder next to the first module |