UNPKG

414 BJavaScriptView Raw
1'use strict';
2const webpack = require('webpack');
3
4module.exports = {
5 mode: 'production',
6 performance: { hints: false },
7 node: {
8 fs: "empty"
9 },
10 entry: {
11 openapiCodeGen: './index.js'
12 },
13 output: {
14 filename: '[name].min.js', // Template based on keys in entry above
15 library: '[name]', // was constant
16 libraryTarget: 'var'
17 },
18 plugins: []
19};
20