UNPKG

@bluemath/geom

Version:
26 lines (21 loc) 767 B
module.exports = { entry: "./test/playground/index.ts", output: { filename: "./build/bluemath-geom-playground.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... };