mirror of
https://github.com/openglobus/openglobus.git
synced 2025-12-08 19:25:27 +00:00
generate sourcemap
This commit is contained in:
parent
a529debb5e
commit
b7fd910997
@ -12,7 +12,7 @@ export default function forceTerserPlugin({ filePath }) {
|
|||||||
compress: true,
|
compress: true,
|
||||||
mangle: true,
|
mangle: true,
|
||||||
format: {
|
format: {
|
||||||
comments: false
|
comments: true
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -26,7 +26,7 @@ export default function ({mode}: { mode: 'development' | 'production' }) {
|
|||||||
},
|
},
|
||||||
emptyOutDir: true,
|
emptyOutDir: true,
|
||||||
outDir: path.resolve(__dirname, './lib'),
|
outDir: path.resolve(__dirname, './lib'),
|
||||||
sourcemap: isDev,
|
sourcemap: true,
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
output: {
|
output: {
|
||||||
entryFileNames: `og.[format].js`,
|
entryFileNames: `og.[format].js`,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user