Fixed alias

This commit is contained in:
SamTv12345 2024-07-17 16:05:26 +02:00
parent 71c222c72f
commit d5793b5b7e

View file

@ -91,6 +91,9 @@ const convertTypescript = (content: string) => {
resolveDir: path.join(settings.root, 'var','js'),
loader: 'js'
},
alias:{
"ep_etherpad-lite": path.join(settings.root, 'src')
},
bundle: true, // Bundle the files together
minify: process.env.NODE_ENV === "production", // Minify the output
sourcemap: !(process.env.NODE_ENV === "production"), // Generate source maps
@ -208,6 +211,9 @@ const convertTypescriptWatched = (content: string, cb: (output:string, hash: str
resolveDir: path.join(settings.root, 'var','js'),
loader: 'js'
},
alias:{
"ep_etherpad-lite": path.join(settings.root, 'src')
},
bundle: true, // Bundle the files together
minify: process.env.NODE_ENV === "production", // Minify the output
sourcemap: !(process.env.NODE_ENV === "production"), // Generate source maps