mirror of
https://github.com/titaniumnetwork-dev/Ultraviolet.git
synced 2025-05-14 12:20:01 -04:00
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 = {
|
const config = {
|
||||||
mode: isDevelopment ? 'development' : 'production',
|
mode: isDevelopment ? 'development' : 'production',
|
||||||
|
devtool: isDevelopment ? 'eval' : 'source-map',
|
||||||
entry: {
|
entry: {
|
||||||
bundle: fileURLToPath(
|
bundle: fileURLToPath(
|
||||||
new URL('./src/rewrite/index.js', import.meta.url)
|
new URL('./src/rewrite/index.js', import.meta.url)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue