mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-04 22:27:10 -04:00
Fixed alias
This commit is contained in:
parent
71c222c72f
commit
d5793b5b7e
1 changed files with 6 additions and 0 deletions
|
@ -91,6 +91,9 @@ const convertTypescript = (content: string) => {
|
||||||
resolveDir: path.join(settings.root, 'var','js'),
|
resolveDir: path.join(settings.root, 'var','js'),
|
||||||
loader: 'js'
|
loader: 'js'
|
||||||
},
|
},
|
||||||
|
alias:{
|
||||||
|
"ep_etherpad-lite": path.join(settings.root, 'src')
|
||||||
|
},
|
||||||
bundle: true, // Bundle the files together
|
bundle: true, // Bundle the files together
|
||||||
minify: process.env.NODE_ENV === "production", // Minify the output
|
minify: process.env.NODE_ENV === "production", // Minify the output
|
||||||
sourcemap: !(process.env.NODE_ENV === "production"), // Generate source maps
|
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'),
|
resolveDir: path.join(settings.root, 'var','js'),
|
||||||
loader: 'js'
|
loader: 'js'
|
||||||
},
|
},
|
||||||
|
alias:{
|
||||||
|
"ep_etherpad-lite": path.join(settings.root, 'src')
|
||||||
|
},
|
||||||
bundle: true, // Bundle the files together
|
bundle: true, // Bundle the files together
|
||||||
minify: process.env.NODE_ENV === "production", // Minify the output
|
minify: process.env.NODE_ENV === "production", // Minify the output
|
||||||
sourcemap: !(process.env.NODE_ENV === "production"), // Generate source maps
|
sourcemap: !(process.env.NODE_ENV === "production"), // Generate source maps
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue