16 Matching Annotations
  1. Dec 2019
    1. neutrino => { neutrino.config.module .rule('compile') .include.add(join(__dirname, 'node_modules')); },
    1. I love this library. Migrated from CRA to nwb. That didn't work out. Neutrino was very easy to setup with almost the exact setup I had with CRA but with far more customization. Again, thank you. Have a good day
    1. neutrino build --require dotenv/config You can then tell Neutrino to inject these environment variables in your neutrinorc: ['@neutrinojs/env', [ 'NODE_ENV', 'APPLICATION_NAME', 'LOGIN_STRATEGIES', 'TASKCLUSTER_ROOT_URL', ]],
    1. Webpack supports the ability to run multiple builds by exporting an array of configurations instead of a single configuration.
    2. Various test runners support using compiled webpack code to drive tests, but may be difficult to integrate with webpack, and Neutrino helps alleviate this
    1. Neutrino utilizes webpack under the hood for building projects by augmenting it with knowledge about build middleware. Neutrino middleware are discrete pieces of webpack configuration that use a custom configuration API. You can compose many of these middleware together into custom presets, and each will modify the build accordingly.