Questions tagged [neutrino]

Neutrino is a companion tool which lets you build web and Node.js applications with shared presets or configurations. It intends to make the process of initializing and building projects much simpler by providing minimal development dependencies. Use this tag for questions related to Neutrino API usage, CLI usage, or custom configuration

23 questions
0
votes
1 answer

React project for Neutrinojs displays "Invalid Host/origin Header" in console

When I create a Neutrinojs v.9 project Davids-iMac-Pro:repos davidedelhart$ create-project test-n9 ... Welcome to Neutrino! To help you create your new project, I am going to ask you a few questions. ? First up, what would you like to…
Dave Edelhart
  • 1,051
  • 1
  • 9
  • 13
0
votes
1 answer

neutrinojs build works but start does not write any changes

I'm trying to setup neutrino for my web project. Configuring it seems really easy and straightforward, however I can't get watch mode (start) to work at all and I have no idea why... For testing I have a clean, test-only setup for neutrinojs 8.3.0…
szegheo
  • 4,175
  • 4
  • 31
  • 35
0
votes
1 answer

How do I see exactly what Webpack/Neutrino is building in development?

It seems like when you run webpack it builds some dist or src folder with all your bundled code and assets in it, and then automatically has a dev server serve it. How would I see what's in this folder or inspect it? I want to confirm my assets are…
stackjlei
  • 9,485
  • 18
  • 65
  • 113
0
votes
0 answers

Neutrino not transforming spread operator

I'm new to Neutrino, but I have my project working for everything but the object spread operator let bar = {...foo, x: 1} yields Module parse failed: Unexpected token over and over. I'm already using the react preset/middleware, but I went ahead and…
Dave Welling
  • 1,678
  • 1
  • 17
  • 13
0
votes
1 answer

Trying to add google fonts to a react / neutrino project

trying Neutrino for the first time to jumpstart a react project. Want to add google fonts to it; tried passing google URLS in as a links array in config/html but no joy. suggestions?
Dave Edelhart
  • 1,051
  • 1
  • 9
  • 13
0
votes
1 answer

Error: bind EADDRINUSE when hot module replacement enabled in neutrino node

I'm using neutrino node.js preset with hot module replacement enabled, here's what I have in index.js: import fastify from 'fastify' import router from './router' const ft = fastify() ft.register(router) // enable hot module replacement if…
Sam Chen
  • 1,933
  • 16
  • 24
0
votes
0 answers

neutrino.js inline source middelware

The goal is to have neutrino build produce a single index.html, with all sources inlined. I am trying to use the html-inline-source webpackplugin I have constructed some middleware and added it my neutrinorc.js file Here is the middleware file…
toddgeist
  • 902
  • 9
  • 21
0
votes
1 answer

Using react-bootstrap with neutrino

I'm making a small react app, which is setup with neutrino. How can I import/user react-bootstrap's stylesheets? Can I use this: https://www.npmjs.com/package/neutrino-middleware-style-loader to load the styles and if so - how? I couldn't find any…
es.16
  • 119
  • 1
  • 1
  • 5
1
2