UNPKG
chess-base
Version:
latest (1.2.0)
1.2.0
1.1.0
1.0.2
1.0.1
1.0.0
chess board logic
github.com/davidlacarta/chess
davidlacarta/chess
chess-base
/
webpack.config.js
14 lines
(12 loc)
•
273 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
const
path
=
require
(
"path"
);
module
.exports = { mode:
"production"
, entry:
"./src/chess.js"
,
output
: {
path
:
path
.resolve(__dirname,
"dist"
), filename:
"chess.js"
, library:
"chess"
, libraryTarget:
"umd"
, globalObject:
"this"
} };