UNPKG
two-dimensions-graphic
Version:
latest (0.3.0)
0.3.0
0.2.0
Multi layers two dimensions graphic tool with canvas and SVG.
github.com/YegorDB/TDG
YegorDB/TDG
two-dimensions-graphic
/
webpack.config.js
16 lines
(11 loc)
•
294 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import
{ dirname, resolve }
from
'path'
;
import
{ fileURLToPath }
from
'url'
;
const
__dirname =
dirname
(
fileURLToPath
(
import
.
meta
.
url
));
export
default
{
mode
:
'production'
,
entry
:
'./src/browser.js'
,
output
: {
filename
:
'tdg.min.js'
,
path
:
resolve
(__dirname,
'lib'
), }, };