repo.or.cz
/
ProtonMail-WebClient.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
i18n: Upgrade translations from crowdin (61e08dd5). (pass-desktop)
[ProtonMail-WebClient.git]
/
packages
/
colors
/
webpack.config.js
blob
aa3945a5d9f197b75e5a41c5312a6cc6604fa628
1
const
path
=
require
(
'path'
);
2
3
module
.
exports
= {
4
entry
:
'./tool/tool.ts'
,
5
stats
:
'minimal'
,
6
mode
:
'production'
,
7
module
: {
8
rules
: [
9
{
10
test
:
/\.ts?$/
,
11
exclude
:
/node_modules/
,
12
use
: {
13
loader
:
'ts-loader'
,
14
options
: {
configFile
:
'tsconfig.tool.json'
},
15
},
16
},
17
],
18
},
19
resolve
: {
20
extensions
: [
'.ts'
],
21
},
22
output
: {
23
filename
:
'bundle.js'
,
24
path
:
path
.
resolve
(
__dirname
,
'tool'
),
25
},
26
};