Created
September 1, 2016 14:07
-
-
Save vitallium/ae58c6859a7cc5c02f6bb6f78e17b90a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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