10 lines
205 B
JavaScript
10 lines
205 B
JavaScript
const path = require('path');
|
|
|
|
exports.onCreateWebpackConfig = ({ actions }) => {
|
|
actions.setWebpackConfig({
|
|
resolve: {
|
|
modules: [path.resolve(__dirname, 'src'), 'node_modules']
|
|
}
|
|
});
|
|
};
|