-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsnowpack.prod.config.js
52 lines (44 loc) · 1.01 KB
/
snowpack.prod.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/** @type {import("snowpack").SnowpackUserConfig } */
module.exports = {
mode: 'production',
root: './',
entry: './src/index.html',
mount: {
src: '/',
public: '/public'
},
exclude: ['**/node_modules/**/*'],
plugins: [
'@snowpack/plugin-sass',
'@snowpack/plugin-webpack',
'@snowpack/plugin-typescript'
],
resolve: {
input: ['.sass', '.scss', '.ts', '.tsx'],
output: ['.css', '.js']
},
optimize: {
bundle: true,
minify: true,
preload: false,
sourcemap: true,
target: 'es2017'
},
knownEntrypoints: [
'@spectrum-css/vars/dist',
'@spectrum-css/page/dist',
'@spectrum-css/typography/dist',
'@spectrum-css/icon/dist',
'@spectrum-css/site/dist',
'@spectrum-css/actionbutton/dist',
'@spectrum-css/actiongroup/dist/',
'@spectrum-css/progressbar/dist/',
'@spectrum-css/steplist/dist/',
'@spectrum-css/table/dist/',
'@prismicio/client/types/'
],
env: {},
packageOptions: {},
devOptions: {},
buildOptions: {}
}