mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-24 14:31:41 +00:00
[ci:force] - fixed build for testing 1
This commit is contained in:
20
lib/testing/webpack.config.js
Normal file
20
lib/testing/webpack.config.js
Normal file
@@ -0,0 +1,20 @@
|
||||
var NxAppWebpackPlugin = require('@nx/webpack/app-plugin').NxAppWebpackPlugin;
|
||||
var join = require('path').join;
|
||||
|
||||
module.exports = {
|
||||
output: {
|
||||
path: join(__dirname, '../../dist/libs/testing')
|
||||
},
|
||||
devServer: {
|
||||
port: 4200
|
||||
},
|
||||
plugins: [
|
||||
new NxAppWebpackPlugin({
|
||||
main: './src/index.ts',
|
||||
tsConfig: './tsconfig.lib.json',
|
||||
index: './src/index.ts',
|
||||
outputHashing: process.env['NODE_ENV'] === 'production' ? 'all' : 'none',
|
||||
optimization: process.env['NODE_ENV'] === 'production'
|
||||
})
|
||||
]
|
||||
};
|
Reference in New Issue
Block a user