UNPKG

@thenja/html-parser

Version:
22 lines (20 loc) 502 B
var webpack = require("webpack"); var path = require('path'); module.exports = { entry: "./spec/in-browser/index.js", output: { path: path.join(__dirname, "spec", "in-browser", "dist"), filename: "spec.js", publicPath: "/dist/" }, resolve: { // Add `.ts` and `.tsx` as a resolvable extension. extensions: ['.webpack.js', '.web.js', '.ts', '.tsx', '.js'] }, module: { rules: [ { test: /\.ts(x?)$/, loader: 'ts-loader' } ] }, devtool : '#source-map' };