mirror of https://github.com/certusone/oyster.git
feat: add deplpyement
This commit is contained in:
parent
b646ee07d4
commit
3a78e670ab
|
@ -11,16 +11,12 @@ const appDirectory = fs.realpathSync(process.cwd());
|
|||
const resolvePackage = relativePath => path.resolve(appDirectory, relativePath);
|
||||
|
||||
module.exports = {
|
||||
/* webpack: {
|
||||
configure: webpackConfig => {
|
||||
const scopePluginIndex = webpackConfig.resolve.plugins.findIndex(
|
||||
({ constructor }) =>
|
||||
constructor && constructor.name === 'ModuleScopePlugin',
|
||||
);
|
||||
webpackConfig.resolve.plugins.splice(scopePluginIndex, 1);
|
||||
webpack: {
|
||||
configure: (webpackConfig, { env, paths }) => {
|
||||
paths.appBuild = webpackConfig.output.path = path.resolve('./../../build/bridge');
|
||||
return webpackConfig;
|
||||
},
|
||||
},*/
|
||||
},
|
||||
plugins: [
|
||||
/*{
|
||||
plugin: CracoBabelLoader,
|
||||
|
|
Loading…
Reference in New Issue