@bluemath/geom
Version:
Bluemath Geometry library
26 lines (21 loc) • 750 B
JavaScript
module.exports = {
entry: "./test/index.ts",
output: {
filename: "./build/bluemath-geom-test.js",
},
// Enable sourcemaps for debugging webpack's output.
devtool: "source-map",
resolve: {
// Add '.ts' and '.tsx' as resolvable extensions.
extensions: [".ts",".js"]
},
module: {
loaders: [
// All files with a '.ts' or '.tsx' extension will be handled by 'awesome-typescript-loader'.
{ test: /\.tsx?$/, loader: "awesome-typescript-loader" },
// All output '.js' files will have any sourcemaps re-processed by 'source-map-loader'.
{ test: /\.js$/, loader: "source-map-loader", enforce:"pre" }
]
},
// Other options...
};