Skip to content

Instantly share code, notes, and snippets.

@tulios
Created January 26, 2016 20:34
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 tulios/c18f8718731e51aa358d to your computer and use it in GitHub Desktop.
Save tulios/c18f8718731e51aa358d to your computer and use it in GitHub Desktop.
ember-webpack-loaders module config
{
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'
}
]
}
}
@velmurugan-baskaran
Copy link

Hi Tulios,
I have created ember application using "ember new application"
Please assist how can i build this application using webpack2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment