✨ Create server-rendered universal JavaScript applications with no configuration
MIT License
Bot releases are hidden (Show)
crossorigin
attribute to script tagTo get the benefit of the error overlay (which is like CRA's) just make sure to add a crossorigin
attribute to your <script>
tag in your template in server.js
during development.
To get runtime error overlay working, make add a crossorigin attribute to your script tag in server.js
${process.env.NODE_ENV === 'production'
? `<script src="${assets.client.js}" defer></script>`
: `<script src="${assets.client.js}" defer crossorigin></script>`}
If you don't, nothing bad happens, you'll only see errors in the console though.
Published by jaredpalmer about 7 years ago
.sass
file endingsPublished by jaredpalmer over 7 years ago
Patch Release
Prevent file-loader
from consuming .less
files.
Published by jaredpalmer over 7 years ago
Patch Release
.scss
)Published by jaredpalmer over 7 years ago
Patch release
Published by jaredpalmer over 7 years ago
razzle test
- Run jest test runner in watch mode by default. Watch mode is disabled in the presence of process.env.CI=true
or in non-interactive shells. Use --env=jsdom
to use jsdom
configuration.App.test.js
Published by jaredpalmer over 7 years ago
Patch Release
Published by jaredpalmer over 7 years ago
Published by jaredpalmer over 7 years ago
Published by jaredpalmer over 7 years ago
create-razzle-app
, deprecated razzle-cli
create-react-app's
Published by jaredpalmer over 7 years ago
assets.json
error on initial startupcreate-react-app
Published by jaredpalmer over 7 years ago
Published by jaredpalmer over 7 years ago
localhost
for better Windows supportPublished by jaredpalmer over 7 years ago
Patch
Published by jaredpalmer over 7 years ago
See #265 for more details...
.env
for build-time environment variables like CRAhost
, port
, or clearConsole
are specified in razzle.config.js
, but do not break any builds.