luna-config
v1.8.2
Published
Shared configuration for Luna projects
Downloads
6
Readme
Luna Config
Config manager for Luna web apps.
Handles the setup of the following dev tools:
All config is provided as a JS object so standard methods can be used to customise and extend:
// webpack.config.js
module.exports = getWebpackConfig({
context: __dirname,
module: {
rules: [
/* My custom loaders */
],
},
plugins: [
/* My custom plugins */
],
})
Getting started
luna-config
is primarily designed for use with a fresh project so has a script to set up everything needed following an npm init
and installing the package.
npm i -D luna-config
Once installed locally you can run:
npx luna-config-init && npm i
Then you're ready to go! Take a look at the Luna site for next steps on adding content to your app. Alternatively you can look at the luna-react-boilerplate repo that expands on this base with additional behaviour such as routing.