UNPKG

json-pretty-html

Version:

Transforms a JSON object to a pretty piece of HTML Edit

41 lines (39 loc) 798 B
module.exports = { entry: './build/src//prettyPrint.js', output: { path: __dirname + '/dist', filename: 'bundle.js', libraryTarget: 'umd', library: 'prettyPrint', globalObject: 'typeof self !== \'undefined\' ? self : this', }, module: { rules: [ { test: /\.tsx?$/, loader: 'awesome-typescript-loader' }, { test: /\.scss$/, loaders: ["style", "css", "sass"] }, { test: /\.css$/, loaders: ["style", "css"] } ] /* loaders: [ { test: /\.(t|j)sx?$/, use: { loader: 'awesome-typescript-loader' } }, { test: /\.scss$/, loaders: ["style", "css", "sass"] }, { test: /\.css$/, loaders: ["style", "css"] } ] */ } };