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);
|
const resolvePackage = relativePath => path.resolve(appDirectory, relativePath);
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
/* webpack: {
|
webpack: {
|
||||||
configure: webpackConfig => {
|
configure: (webpackConfig, { env, paths }) => {
|
||||||
const scopePluginIndex = webpackConfig.resolve.plugins.findIndex(
|
paths.appBuild = webpackConfig.output.path = path.resolve('./../../build/bridge');
|
||||||
({ constructor }) =>
|
|
||||||
constructor && constructor.name === 'ModuleScopePlugin',
|
|
||||||
);
|
|
||||||
webpackConfig.resolve.plugins.splice(scopePluginIndex, 1);
|
|
||||||
return webpackConfig;
|
return webpackConfig;
|
||||||
},
|
},
|
||||||
},*/
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
/*{
|
/*{
|
||||||
plugin: CracoBabelLoader,
|
plugin: CracoBabelLoader,
|
||||||
|
|
Loading…
Reference in New Issue