Skip to content

v4.0.0

Compare
Choose a tag to compare
@marcofugaro marcofugaro released this 31 Aug 08:50
· 297 commits to master since this release

New features

  • possibility to edit the babel configuration via the .babelrc
  • babel-plugin-macros, pipeline-operator, optional-chaining, optional-catch-binding and many other from babel7
  • transpilation of the node_modules
  • new Eslint rules (already published)
  • possiblity to edit the supported browsers both in development and in production via browserslist in package.json. Both babel-preset-env and autoprefixer depend on it.
  • CSV Loader
  • CSS Modules for *.module.css files
  • Support for FUSS
  • CSS Nesting
  • JSON5 Loader
  • support for the .env file
  • A lot of documentation, including:
    • Netlify setup guide and config file
    • Adding new webpack loaders and plugins
    • Adding support for typescript
    • Available Env variables
    • How do I enable hot reloading?
    • Where do I put the images?
    • Where do I put the custom fonts?
    • What is the public folder for?
    • How do I override a webpack loader?
  • Fix forever the PUBLIC_URL env
  • Add the LATEST_COMMIT and LATEST_COMMIT_TIMESTAMP env variables
  • Add support for color-mod() in css using postcss
  • Lint command
  • Prettier command
  • Styles are now imported from the avoiding the FOUC
  • SVG React Loader

Refactoring

  • Updated the create-test-app command according to the new yarn version
  • Updated lerna and the publish command
  • remove BSD oudated license
  • add short README in every package
  • updated the start and build node scripts according to the updates in create-react-app
  • upgrade deps to webpack4, babel7, eslint5
  • deprecated setting the NODE_ENV from the outside, other other variables instead
  • updated the webpack.config