This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/webpack.config.js

34 lines
758 B
JavaScript
Raw Normal View History

var webpack = require('webpack');
var path = require("path");
var config = {
entry: ["./static/js/app.tsx", "./static/js/services/angular-view-array/angular-view-array.ts"],
output: {
path: path.resolve(__dirname, "static/js/build"),
filename: "bundle.js"
},
resolve: {
2016-11-07 22:27:50 +00:00
extensions: ["", ".ts", ".tsx", ".js", ".scss"],
alias: {
"sass": path.resolve('./static/css/directives/components/pages/')
}
},
module: {
loaders: [
{
test: /\.tsx?$/,
loader: "ts-loader",
exclude: /node_modules/
2016-11-02 18:15:52 +00:00
},
{
test: /\.scss$/,
2016-11-07 22:27:50 +00:00
loaders: ['style', 'css', 'sass'],
exclude: /node_modules/
}
]
},
devtool: "cheap-eval-source-map",
};
module.exports = config;