Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const path = require('path');
const { rules, plugins, loaders } = require('webpack-atoms').createAtoms({
env: 'development',
});
const inlineRule = rules.js();
inlineRule.use = [
...inlineRule.use,
{
loader: require.resolve('../lib/loader'),
options: { extension: '.module.scss' },
},
];
module.exports = {
entry: './src/client.js',
devtool: 'cheap-module-source-map',
devServer: {