Bot releases are visible (Hide)
Published by leebenson over 7 years ago
cheap-module-source-map
with source-map
in development, for compatibility with CSSsourceMap
option to common.css.getExtractCSSLoaders()
Published by leebenson over 7 years ago
dispatch
, for less Redux boilerplatedata
, injected by Apollokit/lib/apollo.js -> mergeData()
functionPublished by leebenson over 7 years ago
kit/lib/env.js
, with functions for getting browser/server-specific host/portsPublished by leebenson over 7 years ago
kit/lib/env.js
, for determining local environment settingsgetHost()
, getPort()
and getURL()
to kit/lib/env.js
to detect where the local server is/will be spawned onkit/entry/server_*.js
configs to use dynamic environment host/port/URLconcurrently
with npm-run-all
, to avoid errors in NPM v5.0.0 when terminating with Ctrl/Cmd + CPublished by leebenson over 7 years ago
Location:
header to new URL)<Redirect>
handler, from /old/path to /new/pathPublished by leebenson over 7 years ago
<script defer>
tags in kit/views/ssr.js
could cause manifest/vendor/browser files to load in the wrong order.br
versions of static assets in productionstaticMiddleware()
to kit/entry/server.js
for serving static file assetskoa-static
middleware with a direct call to parent koa-send
Removes packages:
"koa-static": "^3.0.0"
Adds packages:
"brotli-webpack-plugin": "^0.3.0"
"koa-send": "^4.1.0"
Bumps packages:
"babel-preset-env": "^1.5.1"
"css-loader": "^0.28.4"
"eslint-plugin-compat": "^1.0.3"
"eslint-plugin-import": "^2.3.0"
"eslint-plugin-jsx-a11y": "^5.0.3"
"node-sass": "^4.5.3"
"style-loader": "^0.18.1"
"webpack": "^2.6.1"
"webpack-bundle-analyzer": "^2.8.2"
"koa-router": "^7.2.0"
"react-helmet": "^5.1.3"
Published by leebenson over 7 years ago
gzip
with zopfli
compression on Webpack build assets (up to 5% better compression)npm run build-browser
script, for generating just a production browser bundlePublished by leebenson over 7 years ago
Published by leebenson over 7 years ago
babel-register
, and speeds up linting.kit/webpack/eslint.js
- which is now mootnpm start
bundles both a hot-reloading browser bundle, and a spawns server-side rendering that reloads upon code changes.distDev
route to paths, for server development bundled assetskit/webpack/server_dev.js
Webpack config for building and launching a development serverkit/webpack/server_prod.js
Webpack config for building production server bundlekit/entry/server.js
for working in both dev/production__dirname
in the built server bundle, so that dist/server.js
can be run from anywhere (mentioned in / fixes https://github.com/reactql/cli/issues/36)kit/lib/console.js
and logServerStarted()
function, for dumping neat console messages to the screen when starting serverskit/lib/routing.js
, with <Status>
(internal), <NotFound>
and <Redirect>
components for handling status codes, 404s and redirects, universally.kit/webpack/base
with common stats; fixes path typokit/webpack/dev.js
, which is extended by server_dev and browser_dev and adds the correct env vars and source-maps.npm run build-static
to create a production browser bundle along with an index.html
file, for uploading to a static web hostnpm run build-static-run
, for static bundling and running the static site locally on port 5000npm run static
, for running an already built static bundlekit/webpack/browser_prod.js
to add console messages; fixes minor chunk hash typocss.getDevLoaders()
and css.getExtractCSSLoaders()
helper functions to kit/webpack/common.js
, for CSS configs that work across multiple configsstats
to kit/webpack/common.js
, for a common output format that shows built assets, errors and warnings, with minimal clutterdevDependencies
or dependencies
npm run...
commands as follows:index.html
, for hosting staticallydist
folder and contentsPublished by leebenson over 7 years ago
npm run build-browser-only
option, which creates index.html
alongside regular JS and CSS browser bundling. Useful for static hosts or via a BYO web server.postcss.config.js
, for upcoming PostCSS v6.0 (note: not implemented yet; CSSNext currently awaiting https://github.com/MoOx/postcss-cssnext/issues/374)HOST
environment var for overriding localhost
defaultRunning on http://localhost:4000/
default message when server starts (or whatever the correct HOST
and PORT
are)yarn.lock
b12f8ec5ad1549412a072732e68ad596281231b9
547c9f09e4b1469799cc562803de0b358f79f8d9
f67b564cc2058e3467f8b50f38e73fe482c9b8ba <--- latest
Published by leebenson over 7 years ago
WEBPACK_CONFIG
in package.json
Published by leebenson over 7 years ago
css-loader
defaults to kit/webpack/common.js
src/styles.css
to use SASS-style nesting of elementsyarn.lock
Published by leebenson over 7 years ago
for...of
, correctly filtering out the Airbnb restrictionpostcss-nested
, to allow SASS-style nesting on plain CSSkit/webpack/common.js
for shared configuration between Webpack filesprop-types
warning generated by react-apollo
by bumping to 1.1.0src/styles.global.css
yarn.lock
Published by leebenson over 7 years ago
window.*
initial variables on SSR by removing whitespacewindow
prop to <Html>
on SSR, instead of separate props for webpackManifest
/ state
Published by leebenson over 7 years ago
manifest.json
and chunk-manifest.json
to dist
instead of dist/public
(stops them being accessible publicly)