produce sourcemap
This commit is contained in:
parent
f48e34b5b5
commit
17c5b6b7b7
1 changed files with 1 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ const isDevelopment = process.env.NODE_ENV !== 'production';
|
|||
*/
|
||||
const config = {
|
||||
mode: isDevelopment ? 'development' : 'production',
|
||||
devtool: isDevelopment ? 'eval' : 'source-map',
|
||||
entry: {
|
||||
bundle: fileURLToPath(
|
||||
new URL('./src/rewrite/index.js', import.meta.url)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue