diff --git a/packages/rocketact-scripts/package.json b/packages/rocketact-scripts/package.json index 1117c51..d4a5388 100644 --- a/packages/rocketact-scripts/package.json +++ b/packages/rocketact-scripts/package.json @@ -1,6 +1,6 @@ { "name": "rocketact-scripts", - "version": "1.10.3", + "version": "1.10.4", "description": "", "main": "index.js", "scripts": { diff --git a/packages/rocketact-scripts/src/commands/start.ts b/packages/rocketact-scripts/src/commands/start.ts index 3a38cf5..e518411 100644 --- a/packages/rocketact-scripts/src/commands/start.ts +++ b/packages/rocketact-scripts/src/commands/start.ts @@ -57,12 +57,6 @@ export default (api: CoreAPI) => { }, }; - WebpackDevServer.addDevServerEntrypoints( - // @ts-ignore - webpackConfig, - devServerOptions - ); - const expectedPort = process.env.PORT ? Number(process.env.PORT) : 3000; detectPort(expectedPort, (err, availablePort) => { diff --git a/packages/rocketact-scripts/src/config/webpack/module.ts b/packages/rocketact-scripts/src/config/webpack/module.ts index cbc7d5f..8a985eb 100644 --- a/packages/rocketact-scripts/src/config/webpack/module.ts +++ b/packages/rocketact-scripts/src/config/webpack/module.ts @@ -28,6 +28,7 @@ export default (api: CoreAPI) => { .loader(require.resolve("babel-loader")) .options({ presets: [require.resolve("babel-preset-rocketact")], + cacheDirectory: true, }) .end() .end()