Split SearchControls into separate component (#174)
* Split SearchControls into separate component * Add testing config * Add webpack config * Add snapshot tests for Search Controls * bump version and update package-lock format
This commit is contained in:
13
webpack.dev.config.js
Normal file
13
webpack.dev.config.js
Normal file
@@ -0,0 +1,13 @@
|
||||
const path = require('path');
|
||||
const { createConfig } = require('@edx/frontend-build');
|
||||
|
||||
const config = createConfig('webpack-dev');
|
||||
|
||||
config.resolve.modules = [
|
||||
path.resolve(__dirname, './src'),
|
||||
'node_modules',
|
||||
];
|
||||
|
||||
config.module.rules[0].exclude = /node_modules\/(?!(query-string|split-on-first|strict-uri-encode|@edx))/;
|
||||
|
||||
module.exports = config;
|
||||
Reference in New Issue
Block a user