Skip to content

Instantly share code, notes, and snippets.

@daslicht
Created November 12, 2016 15:06
Show Gist options
  • Save daslicht/b3c970685a268086cd0936ad0fe1b7d4 to your computer and use it in GitHub Desktop.
Save daslicht/b3c970685a268086cd0936ad0fe1b7d4 to your computer and use it in GitHub Desktop.
module.exports = {
entry: "./entry.ts",
output: {
path: __dirname,
filename: "bundle.js"
},
resolve: {
extensions: ['.ts', '.tsx', '.js', '.jsx']
},
devtool: 'source-map',
module: {
loaders: [
{ test: /\.css$/, loader: "style!css" },
// { test: /\.html$/, loader: 'ractive' },
{ test: /\.ts$/, loader: 'awesome-typescript-loader'},
{ test: /\.handlebars$/, loader: "handlebars-loader" }
]
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment