1 | const webpackConfig = require('../../webpack.config.base');
|
2 |
|
3 | const libraryName = 'service.middle.bundle';
|
4 |
|
5 | webpackConfig.entry = ['babel-polyfill', `${__dirname}/src/index.js`];
|
6 |
|
7 | webpackConfig.output.path = `${__dirname}/dist`;
|
8 | webpackConfig.output.publicPath = `${__dirname}\\dist`;
|
9 | webpackConfig.output.filename = `${libraryName}.js`;
|
10 | webpackConfig.output.library = libraryName;
|
11 |
|
12 | module.exports = webpackConfig;
|