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.
2020-06-04 09:16:04 +07:00
|
|
|
const path = require('path');
|
2020-06-03 13:06:30 +07:00
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
mode: 'production',
|
|
|
|
entry: './src/baseContextProvider.js',
|
|
|
|
output: {
|
|
|
|
path: path.resolve('lib'),
|
2020-06-03 21:23:19 +07:00
|
|
|
filename: 'baseContextProvider.js',
|
2020-06-03 13:06:30 +07:00
|
|
|
libraryTarget: 'commonjs2'
|
|
|
|
},
|
|
|
|
module: {
|
|
|
|
rules: [
|
|
|
|
{
|
|
|
|
test: /\.jsx?$/,
|
|
|
|
exclude: /(node_modules)/,
|
|
|
|
use: 'babel-loader'
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|