-
install with:
yarn add magnolia-frontend-scripts
-
add this into your projects package.json:
"scripts": { "build": "neo-mfs build", "check": "neo-mfs check", "start": "neo-mfs default" }
-
make sure your directory layout looks like this:
- <project-name> -> <name>-ui -> <name>-ui -> frontend (here is your package.json etc) -> <name>-webapp
-
add correct path names to a file named ".projectrc" in your frontend directory:
const basePaths = { root: '.', src: 'src', srcClient: 'src/client', srcServer: 'src/server', dist: 'dist', distPublic: 'dist/webresources', distSrcUI: '../swidch-ui-light/', distSrcWeb: '../swidch-ui-light/web', distTargetMagnolia: '../../swidch-webapp/target/cmsauthor/modules/swidch-ui-light' }; module.exports = basePaths;
-
TODO
- make more configurable
- log gulp output too
- ...
-
Notifications
You must be signed in to change notification settings - Fork 1
Neofonie/magnolia-frontend-scripts
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
collection of gulp-scripts for building magnolia frontends
Topics
Resources
Stars
Watchers
Forks
Packages 0
No packages published