forked from asbi-cds-tools/asbi-screening-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvue.config.js
45 lines (45 loc) · 1.18 KB
/
vue.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
const path = require("path");
const systemType = String(process.env.VUE_APP_SYSTEM_TYPE).toLowerCase();
module.exports = {
configureWebpack: {
devtool: systemType === "development" ? "source-map" : "",
module: {
rules: [
{
test: /\.js$/,
use: ["source-map-loader"],
enforce: "pre",
exclude: [
path.resolve(__dirname, "node_modules/cql-execution/lib"),
path.resolve(__dirname, "node_modules/fhirclient"),
path.resolve(__dirname, "node_modules/cql-worker"),
path.resolve(__dirname, "node_modules/cql-exec-fhir"),
path.resolve(__dirname, "node_modules/encender"),
],
},
{
test: /\.worker\.js$/,
use: {
loader: "worker-loader",
options: {
publicPath: "/src/cql/",
inline: true,
},
},
},
{
test: /\.js\.map$/,
use: ["ignore-loader"],
},
],
},
},
publicPath: "/",
pages: {
index: "./src/main.js",
launch: "./src/launch.js",
},
transpileDependencies: [
'vuetify', 'questionnaire-to-survey'
]
}