Created
January 26, 2016 20:34
-
-
Save tulios/c18f8718731e51aa358d to your computer and use it in GitHub Desktop.
ember-webpack-loaders module config
This file contains 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
{ | |
module: { | |
loaders: [ | |
{ | |
test: /\.hbs$/, | |
include: /app\/templates/, // or whatever directory you have | |
loader: 'ember-webpack-loaders/htmlbars-loader' | |
}, | |
{ | |
test: /app\/index\.js/, // the main app file | |
loader: 'ember-webpack-loaders/inject-templates-loader!ember-webpack-loaders/inject-modules-loader' | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Tulios,
I have created ember application using "ember new application"
Please assist how can i build this application using webpack2?