2021-08-19 14:15:59 +00:00
|
|
|
/**
|
|
|
|
* Internal dependencies
|
|
|
|
*/
|
2022-05-31 22:42:00 +00:00
|
|
|
const { webpackConfig } = require( '@woocommerce/internal-style-build' );
|
2021-08-19 14:15:59 +00:00
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
mode: process.env.NODE_ENV || 'development',
|
|
|
|
entry: {
|
|
|
|
'build-style': __dirname + '/src/style.scss',
|
|
|
|
},
|
|
|
|
output: {
|
|
|
|
path: __dirname,
|
|
|
|
},
|
|
|
|
module: {
|
2023-03-27 01:42:33 +00:00
|
|
|
parser: webpackConfig.parser,
|
2021-08-19 14:15:59 +00:00
|
|
|
rules: webpackConfig.rules,
|
|
|
|
},
|
|
|
|
plugins: webpackConfig.plugins,
|
|
|
|
};
|