-
-
Save rrevanth/939bfa310ceb941b4461ed1896a4d90b to your computer and use it in GitHub Desktop.
brunch config for using Elm with Phoenix 1.3-rc.0
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 = { | |
files: { | |
javascripts: { | |
joinTo: "js/app.js" | |
}, | |
stylesheets: { | |
joinTo: "css/app.css" | |
}, | |
templates: { | |
joinTo: "js/app.js" | |
} | |
}, | |
conventions: { | |
assets: /^(static)/ | |
}, | |
paths: { | |
watched: ["static", "elm", "css"], | |
public: "../priv/static" | |
}, | |
plugins: { | |
babel: { | |
ignore: [/vendor/] | |
}, | |
elmBrunch: { | |
mainModules: ["elm/Main.elm"], | |
makeParameters: ['--debug'], | |
executablePath: 'node_modules/elm/binwrappers' | |
}, | |
elmCss: { | |
sourcePath: "elm/Stylesheets.elm", | |
pathToMake: "node_modules/elm/binwrappers/elm-make" | |
} | |
}, | |
modules: { | |
autoRequire: { | |
"js/app.js": ["js/app"] | |
} | |
}, | |
npm: { | |
enabled: true | |
}, | |
notifications: false | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment