mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-01 14:41:32 +00:00
21 lines
580 B
JavaScript
21 lines
580 B
JavaScript
const { NxAppWebpackPlugin } = require('@nx/webpack/app-plugin');
|
|
const { join } = require('path');
|
|
|
|
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'
|
|
})
|
|
]
|
|
};
|