File: webpack.config.js

package info (click to toggle)
node-trust-json-document 0.1.4~dfsg-11
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 392 kB
  • sloc: javascript: 5,493; makefile: 32; sh: 6
file content (22 lines) | stat: -rw-r--r-- 361 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
var path = require('path')

module.exports = {
  entry: [
    './lib/index.js'
  ],
  output: {
    path: path.join(__dirname, '/dist/'),
    filename: 'json-document.min.js',
    library: 'JSONDocument',
    libraryTarget: 'var'
  },
  module: {
    rules: [
      {
        test: /\.json$/,
        loader: 'json'
      }
    ]
  },
  devtool: 'source-map'
}