mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
add syncbuilddir step to aot build
This commit is contained in:
@@ -2,19 +2,20 @@ const HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||
const ScriptExtPlugin = require('script-ext-html-webpack-plugin');
|
||||
|
||||
const {
|
||||
root
|
||||
projectRoot,
|
||||
buildRoot
|
||||
} = require('./helpers');
|
||||
|
||||
module.exports = {
|
||||
entry: root('./src/main.browser.ts'),
|
||||
entry: buildRoot('./main.browser.ts'),
|
||||
output: {
|
||||
filename: 'client.js'
|
||||
},
|
||||
target: 'web',
|
||||
plugins: [
|
||||
new HtmlWebpackPlugin({
|
||||
template: root('./src/index.html'),
|
||||
output: root('dist'),
|
||||
template: buildRoot('./index.html'),
|
||||
output: projectRoot('dist'),
|
||||
inject: 'head'
|
||||
}),
|
||||
new ScriptExtPlugin({
|
||||
|
Reference in New Issue
Block a user