diff --git a/packages/core/src/build.js b/packages/core/src/build.js index 372b3b7..e75a4e6 100644 --- a/packages/core/src/build.js +++ b/packages/core/src/build.js @@ -106,14 +106,14 @@ export default (latus) => (neutrino) => { .options({ source: source.join('\n'), }); + neutrino.config + .entry('index') + .add('@latus/core/start'); const mocha = r('@neutrinojs/mocha'); mocha()(neutrino); if (process.env.LATUS_LINTING) { return; } - neutrino.config - .entry('index') - .add('@latus/core/start'); const nodeExternals = r('webpack-node-externals'); const allowlist = [ /^@latus\/core\/virtual$/,