mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-15 12:24:47 +00:00
emit legacy build
This commit is contained in:
@@ -9,8 +9,11 @@ export default {
|
||||
},
|
||||
|
||||
output: () => {
|
||||
let dir = `${locations.dest()}/client`;
|
||||
if (process.env.SAPPER_LEGACY_BUILD) dir += `/legacy`;
|
||||
|
||||
return {
|
||||
dir: `${locations.dest()}/client`,
|
||||
dir,
|
||||
entryFileNames: '[name].[hash].js',
|
||||
chunkFileNames: '[name].[hash].js',
|
||||
format: 'esm'
|
||||
|
||||
Reference in New Issue
Block a user