This repository has been archived on 2020-07-23. You can view files and clone it, but cannot push or open issues or pull requests.
BaseContextProvider/webpack.config.js

20 lines
440 B
JavaScript

const path = require('path');
module.exports = {
mode: 'production',
entry: './src/baseContextProvider.js',
output: {
path: path.resolve('lib'),
filename: 'baseContextProvider.js',
libraryTarget: 'commonjs2'
},
module: {
rules: [
{
test: /\.jsx?$/,
exclude: /(node_modules)/,
use: 'babel-loader'
}
]
}
}