Skip to content

Instantly share code, notes, and snippets.

@vitallium
Created September 1, 2016 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vitallium/ae58c6859a7cc5c02f6bb6f78e17b90a to your computer and use it in GitHub Desktop.
Save vitallium/ae58c6859a7cc5c02f6bb6f78e17b90a to your computer and use it in GitHub Desktop.
exports.config = {
paths: {
public: './app/assets',
watched: ['./app/frontend']
},
files: {
javascripts: {
joinTo: {
'javascripts/vendor.js': /^node_modules/,
'javascripts/app.js': /^app\/frontend/,
},
order: {
after: [/\.html$/, /\.css$/]
}
},
stylesheets: {
joinTo: 'stylesheets/app.css'
},
templates: {
joinTo: 'main.js'
}
},
conventions: {
assets: /^(app\/assets)/
},
plugins: {
sass: {
mode: 'native'
},
inlineCss: {
html: true,
passthrough: [/^node_modules/]
}
},
modules: {
nameCleaner: function(path) {
return path.replace(/^app\/frontend\//, '');
}
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment