Skip to content

New configuration method and new CLI tool

Latest
Compare
Choose a tag to compare
@CosAnca CosAnca released this 01 Feb 23:57
· 48 commits to master since this release

Nucleum can now run on a default built-in configuration that will read from the ./src directory and output into a ./public directory.

Breaking changes

The config directory and its content have been removed and replaced with a single optional config file, named nucleum.config.js. See the default configuration inside config-defaults.js file.

For custom advanced behavior of Nucleum, you can create a nucleum.config.js file in the root of your project directory (next to package.json).

nucleum.config.js is a regular Node.js module, not a JSON file. It gets used by the Nucleum build phases, and it's not included in the browser build.

Updates

  • Move Sass processing to dart-sass as node-sass is no longer maintained.
  • Add more reset declaration blocks for better element styles consistency across browsers.
  • Remove _vertical-rythm.scss file and reset margins on all elements by default.
  • Update dependencies (sticking to Webpack 4 for now because of webpack-hot-middleware incompatibilities).

NEW 🎉🚀

There's a new Nucleum CLI tool to help you kick-start a new project in seconds. Give it a try: yarn create nucleum-project.
Find out more by reading the create-nucleum-project documentation.