@studyportals/webpack-helper 2.4.3 → 3.0.0-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,201 +1,250 @@
1
- # WebpackHelper
2
-
3
- WebpackHelper is a utility that makes it easy to set up a webpack configuration for Studyportals' projects that adhere to our [Webpack quality criteria](https://knowledge-vault.studyportals.xyz/quality-standards/front-end/webpack-quality-criteria.html).
4
-
5
- ## Table of Contents
6
- - [Quick Start](#quick-start)
7
- - [Configuration](#configuration)
8
- - [entry](#entry-required)
9
- - [output](#output-required)
10
- - [preset](#preset)
11
- - [bob](#bob)
12
- - [common](#common)
13
- - [development](#development)
14
- - [production](#production)
15
- - [Presets](#presets)
16
- - [javascript](#javascript)
17
- - [typescript](#typescript)
18
- - [vue-typescript](#vue-typescript)
19
- - [DoD compliance with Babel and Browserslist](#dod-compliance-with-babel-and-browserslist)
20
-
21
- ## Quick Start
22
-
23
- ```bash
24
- npm i -D @studyportals/webpack-helper
25
- ```
26
-
27
- After installation, getting started is quite easy. Just set up a `webpack.config.js` file in the root of your project, require Webpack Helper and set up a configuration using it's `create` method like so:
28
-
29
- ```javascript
30
- const path = require('path');
31
- const WebpackHelper = require("@studyportals/webpack-helper");
32
-
33
- const configuration = WebpackHelper.create({
34
- entry: [
35
- "./src/main.ts"
36
- ],
37
- output: {
38
- path: path.resolve(__dirname, './dist'),
39
- fileName: 'bundle',
40
- hash: true,
41
- // Use this if you want to control hashing for js and css separately
42
- hash: {
43
- js: true,
44
- css: false
45
- }
46
- },
47
- preset: "vue-typescript",
48
- bob: {
49
- name: 'MicroService',
50
- html: '<div id=\"MicroServicePlaceholder\"></div>',
51
- baseURL: '/dist',
52
- defer: ['style'],
53
- dllPackages: [
54
- {
55
- name: "package-dll",
56
- manifest: require("@studyportals/package-dll/dist/manifest.json")
57
- }
58
- ]
59
- },
60
- common: {
61
- //any config
62
- },
63
- development: {
64
- //any config
65
- },
66
- production: {
67
- //any config
68
- }
69
- });
70
- ```
71
-
72
- When your configuration is created you can get an instance of it for the correct environment and export it for webpack to use like so:
73
-
74
- ```javascript
75
- module.exports = mode => configuration.get(mode);
76
- ```
77
- ## Configuration
78
-
79
- Webpack Helper offers a compact but flexible configuration interface. Below you will find every option available.
80
-
81
- ### entry **(required)**
82
-
83
- The entrypoint for your webpack bundle. This can either be configured as an object with the bundle name as a key and the path as a value or as an array of paths if your project requires multiple entry points.
84
-
85
- ```javascript
86
- entry: [
87
- "./src/main.ts"
88
- ]
89
-
90
- //or
91
-
92
- entry: {
93
- bundle: "./src/main.ts"
94
- }
95
- ```
96
-
97
- ### output **(required)**
98
-
99
- The output object has some options that define how your bundle will be output. It has the following properties:
100
-
101
- - `path`**(required)**: The target directory for all output files.
102
- - `library`: The name of the exported library, which will also be used to namespace sourcemaps. This will default to `null`.
103
- - `publicPath`: The url to the output directory resolved relative to the HTML page. This will default to `null`.
104
- - `fileName`: A custom filename for your bundle. This will default to `[name]` which refers to the name you've given your entrypoint.
105
- - `hash`: Whether or not to add build hashes to your filenames. This will default to `true`. Whenever you want different values for your js and css you can pass an object with separate properties and values as in the example below.
106
- - `crossOriginLoading`: Tells webpack to enable cross-origin loading of chunks. Can either be set to `anonymous` or `user-credentials`.
107
-
108
- ```javascript
109
- output: {
110
- path: path.resolve(__dirname, './dist'),
111
- library: 'test-microservice',
112
- publicPath: '/assets/',
113
- fileName: 'application',
114
- crossOriginLoading: 'anonymous',
115
- hash: false,
116
- //or
117
- hash: {
118
- js: true,
119
- css: false
120
- }
121
- }
122
- ```
123
-
124
- ### preset
125
-
126
- The preset property determines which preset to load into your webpack configuration.
127
-
128
- ```javascript
129
- preset: "vue-typescript | typescript | javascript"
130
- ```
131
-
132
- ### bob
133
-
134
- The bob object adds all necessary configuration to have your project generate a manifest file to be used by [Bob](https://github.com/studyportals/Bob).
135
-
136
- - `name`**(required)**: The name of your microservice.
137
- - `html`**(required)**: The HTML that needs to be output by your microservice. Can be a path to a document or a snippet.
138
- - `baseURL`: The baseURL for your microservice assets.
139
- - `async`: An array of JS filenames to be loaded async.
140
- - `defer`: An array of CSS filenames to be lazy-loaded.
141
- - `exclude`: An array of filenames (CSS and JS) that should be excluded from your manifest file.
142
- - `dllPackages`: An array of objects that reference your Dll dependencies. They all require a name and a Dll manifest in the form of a json file.
143
-
144
- ```javascript
145
- bob: {
146
- name: 'MicroService',
147
- html: '<div id=\"MicroServicePlaceholder\"></div>',
148
- baseURL: '/dist',
149
- defer: ['style'],
150
- exclude: ['demo-assets'],
151
- dllPackages: [
152
- {
153
- name: "package-dll",
154
- manifest: require("@studyportals/package-dll/dist/manifest.json")
155
- }
156
- ]
157
- }
158
- ```
159
-
160
- WebpackHelper uses [BobManifestGenerator](https://github.com/studyportals/BobManifestGenerator) to generate a manifest file.
161
-
162
- ### common
163
-
164
- Extra Webpack configuration to be used for all environments can be passed in the `common` object. This configuration needs to adhere to Webpack's configuration interface and will be merged in with the other configuration through [webpack-merge](https://github.com/survivejs/webpack-merge).
165
-
166
- ### development
167
-
168
- Extra Webpack configuration to be used for all development builds can be passed in the `development` object. This configuration needs to adhere to Webpack's configuration interface and will be merged in with the other configuration through [webpack-merge](https://github.com/survivejs/webpack-merge).
169
-
170
- **NOTE**: Some default configuration for development builds will be added automatically. Details can be found [here](src/defaults/defaults.md).
171
-
172
- ### production
173
-
174
- Extra Webpack configuration to be used for all production builds can be passed in the `production` object. This configuration needs to adhere to Webpack's configuration interface and will be merged in with the other configuration through [webpack-merge](https://github.com/survivejs/webpack-merge).
175
-
176
- **NOTE**: Some default configuration for production builds will be added automatically. Details can be found [here](src/defaults/defaults.md).
177
-
178
- ## Presets
179
-
180
- In order to make your life as easy as possible, Webpack Helper ships with a set of presets that will take care of putting some essential plugins and loaders in your configuration. The different presets are listed below.
181
-
182
- More in depth information on what configuration these presets will add to your project can be found [here](src/presets/presets.md).
183
-
184
- ### javascript
185
-
186
- The javascript preset will resolve all `.js` and `.json` files and transpiles them with Babel. If your project has styling, it will separate that out in a separate `.css` file.
187
-
188
- ### typescript
189
-
190
- The typescript preset will resolve all `.ts`, `.tsx`, `.js` and `.json` files. It transpiles them using tsc and Babel. Be aware that you will need to include a `tsconfig.json` in your project for it to work properly. If your project has styling, it will separate that out in a separate `.css` file.
191
-
192
- ### vue-typescript
193
-
194
- The vue-typescript preset will resolve all `.vue`, `.ts`, `.tsx`, `.js` and `.json` files. It transpiles them using vue-loader, tsc and Babel. Be aware that you will need to include a `tsconfig.json` in your project for it to work properly. If your project has styling, it will separate that out in a separate `.css` file.
195
-
196
- ## DoD compliance with Babel and Browserslist
197
-
198
- In order to comply to [Studyportals' definition of done](https://knowledge-vault.studyportals.xyz/definitions-of-done/product/) we use `babel` to transpile our front-end code according to the browsers we need to support. To do this your project needs some configuration. When Webpack Helper is installed it will put standard configuration in the root of your project which consists of 2 files:
199
-
200
- - `.babelrc`: A standard configuration for babel that loads the `babel-env` and `babel-typescripts` presets. You might need to add more plugins for your specific project.
201
- - `.browserslistrc`: A configuration file for browserslist. This is used by `babel-env` to determine which browsers to transpile the code for. Within this file the configuration for student facing products will be loaded by default but other configurations can be easily loaded by uncommenting some lines.
1
+ # WebpackHelper
2
+
3
+ WebpackHelper is a utility that makes it easy to set up a webpack configuration for Studyportals' projects that adhere to our [Webpack quality criteria](https://knowledge-vault.studyportals.xyz/quality-standards/front-end/webpack-quality-criteria.html).
4
+
5
+ ## Table of Contents
6
+ - [Webpack version](#webpack-version)
7
+ - [Notes on updating Webpack from v4 to v5](#notes-on-updating-webpack-from-v4-to-v5)
8
+ - [Quick Start](#quick-start)
9
+ - [Configuration](#configuration)
10
+ - [entry](#entry-required)
11
+ - [output](#output-required)
12
+ - [preset](#preset)
13
+ - [bob](#bob)
14
+ - [common](#common)
15
+ - [development](#development)
16
+ - [production](#production)
17
+ - [Presets](#presets)
18
+ - [javascript](#javascript)
19
+ - [typescript](#typescript)
20
+ - [vue-typescript](#vue-typescript)
21
+ - [DoD compliance with Babel and Browserslist](#dod-compliance-with-babel-and-browserslist)
22
+
23
+ ## Webpack version
24
+ This version of WebpackHelper is based on webpack 5. Some earlier WebpackHelper versions used earlier versions of Webpack. If you get syntax errors when updating to the latest version of WebpackHelper, please check out the [Webpack documentation](https://webpack.js.org/configuration/).
25
+
26
+ ### Notes on updating Webpack from v4 to v5
27
+ Below are some notes that might be helpful when you're upgrading a microservice from webpack-helper v2 (based on Webpack v4) to v3 (based on Webpack v5).
28
+
29
+ #### Dev server
30
+ Webpack-helper **v2 and below**: Your `development.devServer` file might include these parts:
31
+ ```javascript
32
+ {
33
+ development: {
34
+ devServer: {
35
+ open: true,
36
+ overlay: true,
37
+ writeToDisk: true
38
+ }
39
+ }
40
+ }
41
+ ```
42
+ Webpack-helper **v3 and beyond**: Your `webpack.config.js` file should configure those parts like this:
43
+ ```javascript
44
+ {
45
+ development: {
46
+ devServer: {
47
+ client: {
48
+ overlay: true
49
+ },
50
+ devMiddleware: {
51
+ writeToDisk: true
52
+ },
53
+ open: true,
54
+ static: path.join(__dirname, '.') // Related to writeToDisk.
55
+ }
56
+ }
57
+ }
58
+ ```
59
+
60
+ #### Exporting
61
+ Webpack-helper **v2 and below**: Your `webpack.config.js` file ended with the following:
62
+ ```javascript
63
+ module.exports = mode => configuration.get(mode);
64
+ ```
65
+ Webpack-helper **v3 and beyond**: Your `webpack.config.js` file should end with the following (as is also mentioned further below):
66
+ ```javascript
67
+ module.exports = (env, details) => configuration.get(details.mode);
68
+ ```
69
+
70
+ ## Quick Start
71
+
72
+ ```bash
73
+ npm i -D @studyportals/webpack-helper
74
+ ```
75
+
76
+ After installation, getting started is quite easy. Just set up a `webpack.config.js` file in the root of your project, require Webpack Helper and set up a configuration using it's `create` method like so:
77
+
78
+ ```javascript
79
+ const path = require('path');
80
+ const WebpackHelper = require("@studyportals/webpack-helper");
81
+
82
+ const configuration = WebpackHelper.create({
83
+ entry: [
84
+ "./src/main.ts"
85
+ ],
86
+ output: {
87
+ path: path.resolve(__dirname, './dist'),
88
+ fileName: 'bundle',
89
+ hash: true,
90
+ // Use this if you want to control hashing for js and css separately
91
+ hash: {
92
+ js: true,
93
+ css: false
94
+ }
95
+ },
96
+ preset: "vue-typescript",
97
+ bob: {
98
+ name: 'MicroService',
99
+ html: '<div id=\"MicroServicePlaceholder\"></div>',
100
+ baseURL: '/dist',
101
+ defer: ['style'],
102
+ dllPackages: [
103
+ {
104
+ name: "package-dll",
105
+ manifest: require("@studyportals/package-dll/dist/manifest.json")
106
+ }
107
+ ]
108
+ },
109
+ common: {
110
+ //any config
111
+ },
112
+ development: {
113
+ //any config
114
+ },
115
+ production: {
116
+ //any config
117
+ }
118
+ });
119
+ ```
120
+
121
+ When your configuration is created you can get an instance of it for the correct environment and export it for webpack to use like so:
122
+
123
+ ```javascript
124
+ module.exports = (env, details) => configuration.get(details.mode);
125
+ ```
126
+ ## Configuration
127
+
128
+ Webpack Helper offers a compact but flexible configuration interface. Below you will find every option available.
129
+
130
+ ### entry **(required)**
131
+
132
+ The entrypoint for your webpack bundle. This can either be configured as an object with the bundle name as a key and the path as a value or as an array of paths if your project requires multiple entry points.
133
+
134
+ ```javascript
135
+ entry: [
136
+ "./src/main.ts"
137
+ ]
138
+
139
+ //or
140
+
141
+ entry: {
142
+ bundle: "./src/main.ts"
143
+ }
144
+ ```
145
+
146
+ ### output **(required)**
147
+
148
+ The output object has some options that define how your bundle will be output. It has the following properties:
149
+
150
+ - `path`**(required)**: The target directory for all output files.
151
+ - `library`: The name of the exported library, which will also be used to namespace sourcemaps. This will default to `null`.
152
+ - `publicPath`: The url to the output directory resolved relative to the HTML page. This will default to `null`.
153
+ - `fileName`: A custom filename for your bundle. This will default to `[name]` which refers to the name you've given your entrypoint.
154
+ - `hash`: Whether or not to add build hashes to your filenames. This will default to `true`. Whenever you want different values for your js and css you can pass an object with separate properties and values as in the example below.
155
+ - `crossOriginLoading`: Tells webpack to enable cross-origin loading of chunks. Can either be set to `anonymous` or `user-credentials`.
156
+
157
+ ```javascript
158
+ output: {
159
+ path: path.resolve(__dirname, './dist'),
160
+ library: 'test-microservice',
161
+ publicPath: '/assets/',
162
+ fileName: 'application',
163
+ crossOriginLoading: 'anonymous',
164
+ hash: false,
165
+ //or
166
+ hash: {
167
+ js: true,
168
+ css: false
169
+ }
170
+ }
171
+ ```
172
+
173
+ ### preset
174
+
175
+ The preset property determines which preset to load into your webpack configuration.
176
+
177
+ ```javascript
178
+ preset: "vue-typescript | typescript | javascript"
179
+ ```
180
+
181
+ ### bob
182
+
183
+ The bob object adds all necessary configuration to have your project generate a manifest file to be used by [Bob](https://github.com/studyportals/Bob).
184
+
185
+ - `name`**(required)**: The name of your microservice.
186
+ - `html`**(required)**: The HTML that needs to be output by your microservice. Can be a path to a document or a snippet.
187
+ - `baseURL`: The baseURL for your microservice assets.
188
+ - `async`: An array of JS filenames to be loaded async.
189
+ - `defer`: An array of CSS filenames to be lazy-loaded.
190
+ - `exclude`: An array of filenames (CSS and JS) that should be excluded from your manifest file.
191
+ - `dllPackages`: An array of objects that reference your Dll dependencies. They all require a name and a Dll manifest in the form of a json file.
192
+
193
+ ```javascript
194
+ bob: {
195
+ name: 'MicroService',
196
+ html: '<div id=\"MicroServicePlaceholder\"></div>',
197
+ baseURL: '/dist',
198
+ defer: ['style'],
199
+ exclude: ['demo-assets'],
200
+ dllPackages: [
201
+ {
202
+ name: "package-dll",
203
+ manifest: require("@studyportals/package-dll/dist/manifest.json")
204
+ }
205
+ ]
206
+ }
207
+ ```
208
+
209
+ WebpackHelper uses [BobManifestGenerator](https://github.com/studyportals/BobManifestGenerator) to generate a manifest file.
210
+
211
+ ### common
212
+
213
+ Extra Webpack configuration to be used for all environments can be passed in the `common` object. This configuration needs to adhere to Webpack's configuration interface and will be merged in with the other configuration through [webpack-merge](https://github.com/survivejs/webpack-merge).
214
+
215
+ ### development
216
+
217
+ Extra Webpack configuration to be used for all development builds can be passed in the `development` object. This configuration needs to adhere to Webpack's configuration interface and will be merged in with the other configuration through [webpack-merge](https://github.com/survivejs/webpack-merge).
218
+
219
+ **NOTE**: Some default configuration for development builds will be added automatically. Details can be found [here](src/defaults/defaults.md).
220
+
221
+ ### production
222
+
223
+ Extra Webpack configuration to be used for all production builds can be passed in the `production` object. This configuration needs to adhere to Webpack's configuration interface and will be merged in with the other configuration through [webpack-merge](https://github.com/survivejs/webpack-merge).
224
+
225
+ **NOTE**: Some default configuration for production builds will be added automatically. Details can be found [here](src/defaults/defaults.md).
226
+
227
+ ## Presets
228
+
229
+ In order to make your life as easy as possible, Webpack Helper ships with a set of presets that will take care of putting some essential plugins and loaders in your configuration. The different presets are listed below.
230
+
231
+ More in depth information on what configuration these presets will add to your project can be found [here](src/presets/presets.md).
232
+
233
+ ### javascript
234
+
235
+ The javascript preset will resolve all `.js` and `.json` files and transpiles them with Babel. If your project has styling, it will separate that out in a separate `.css` file.
236
+
237
+ ### typescript
238
+
239
+ The typescript preset will resolve all `.ts`, `.tsx`, `.js` and `.json` files. It transpiles them using tsc and Babel. Be aware that you will need to include a `tsconfig.json` in your project for it to work properly. If your project has styling, it will separate that out in a separate `.css` file.
240
+
241
+ ### vue-typescript
242
+
243
+ The vue-typescript preset will resolve all `.vue`, `.ts`, `.tsx`, `.js` and `.json` files. It transpiles them using vue-loader, tsc and Babel. Be aware that you will need to include a `tsconfig.json` in your project for it to work properly. If your project has styling, it will separate that out in a separate `.css` file.
244
+
245
+ ## DoD compliance with Babel and Browserslist
246
+
247
+ In order to comply to [Studyportals' definition of done](https://knowledge-vault.studyportals.xyz/definitions-of-done/product/) we use `babel` to transpile our front-end code according to the browsers we need to support. To do this your project needs some configuration. When Webpack Helper is installed it will put standard configuration in the root of your project which consists of 2 files:
248
+
249
+ - `.babelrc`: A standard configuration for babel that loads the `babel-env` and `babel-typescripts` presets. You might need to add more plugins for your specific project.
250
+ - `.browserslistrc`: A configuration file for browserslist. This is used by `babel-env` to determine which browsers to transpile the code for. Within this file the configuration for student facing products will be loaded by default but other configurations can be easily loaded by uncommenting some lines.
package/assets/.babelrc CHANGED
@@ -1,11 +1,11 @@
1
- {
2
- "plugins": [
3
- "@babel/plugin-proposal-class-properties",
4
- "@babel/plugin-transform-modules-commonjs",
5
- "@babel/plugin-syntax-dynamic-import"
6
- ],
7
- "presets": [
8
- "@babel/preset-env",
9
- "@babel/preset-typescript"
10
- ]
1
+ {
2
+ "plugins": [
3
+ "@babel/plugin-proposal-class-properties",
4
+ "@babel/plugin-transform-modules-commonjs",
5
+ "@babel/plugin-syntax-dynamic-import"
6
+ ],
7
+ "presets": [
8
+ "@babel/preset-env",
9
+ "@babel/preset-typescript"
10
+ ]
11
11
  }
@@ -1,3 +1,3 @@
1
- #extends @studyportals/browserslist-config/clients
2
- #extends @studyportals/browserslist-config/internal
1
+ #extends @studyportals/browserslist-config/clients
2
+ #extends @studyportals/browserslist-config/internal
3
3
  extends @studyportals/browserslist-config/student
package/package.json CHANGED
@@ -1,58 +1,58 @@
1
- {
2
- "name": "@studyportals/webpack-helper",
3
- "version": "2.4.3",
4
- "description": "A collection of standard configurations and helpers for webpack.",
5
- "main": "src/main.js",
6
- "scripts": {
7
- "test": "jest --coverage",
8
- "build": "tsc ./src/**/*.ts",
9
- "prepublish": "npm run build",
10
- "postinstall": "cp ./assets/.babelrc ./assets/.browserslistrc ../../../"
11
- },
12
- "files": [
13
- "src/**/*.js",
14
- "assets/*"
15
- ],
16
- "author": {
17
- "name": "Frank Kluijtmans",
18
- "email": "frank@studyportals.com"
19
- },
20
- "license": "ISC",
21
- "dependencies": {
22
- "@babel/core": "^7.5.5",
23
- "@babel/plugin-proposal-class-properties": "^7.13.0",
24
- "@babel/plugin-syntax-dynamic-import": "^7.8.3",
25
- "@babel/plugin-transform-modules-commonjs": "^7.5.0",
26
- "@babel/plugin-transform-runtime": "^7.5.5",
27
- "@babel/plugin-transform-typescript": "^7.5.5",
28
- "@babel/preset-env": "^7.5.5",
29
- "@babel/preset-typescript": "^7.3.3",
30
- "@babel/runtime": "^7.5.5",
31
- "@studyportals/bob-manifest-generator": "^2.3.1",
32
- "@studyportals/browserslist-config": "^1.2.0",
33
- "@studyportals/dll-availability-tracker": "^1.0.2",
34
- "@studyportals/vue-config": "^3.0.0",
35
- "babel-loader": "^8.0.6",
36
- "css-loader": "^3.4.2",
37
- "file-loader": "^6.0.0",
38
- "mini-css-extract-plugin": "^0.9.0",
39
- "node-sass": "^4.13.1",
40
- "optimize-css-assets-webpack-plugin": "^5.0.3",
41
- "path": "^0.12.7",
42
- "sass-loader": "^8.0.2",
43
- "terser-webpack-plugin": "^2.3.4",
44
- "ts-loader": "^6.2.1",
45
- "typescript": "^3.7.2",
46
- "vue-loader": "^15.8.3",
47
- "vue-template-compiler": "2.5.16",
48
- "webpack": "^4.41.2",
49
- "webpack-cli": "^3.3.10",
50
- "webpack-merge": "^4.2.2"
51
- },
52
- "devDependencies": {
53
- "@types/node": "^12.12.30",
54
- "babel-jest": "^25.1.0",
55
- "jest": "^25.1.0",
56
- "ts-jest": "^25.2.1"
57
- }
58
- }
1
+ {
2
+ "name": "@studyportals/webpack-helper",
3
+ "version": "3.0.0-beta.10",
4
+ "description": "A collection of standard configurations and helpers for webpack.",
5
+ "main": "src/main.js",
6
+ "scripts": {
7
+ "test": "jest --coverage",
8
+ "build": "tsc",
9
+ "prepublish": "npm run build",
10
+ "postinstall": "cp ./assets/.babelrc ./assets/.browserslistrc ../../../"
11
+ },
12
+ "files": [
13
+ "src/**/*.js",
14
+ "assets/*"
15
+ ],
16
+ "author": {
17
+ "name": "Frank Kluijtmans",
18
+ "email": "frank@studyportals.com"
19
+ },
20
+ "license": "ISC",
21
+ "dependencies": {
22
+ "@babel/core": "^7.5.5",
23
+ "@babel/plugin-proposal-class-properties": "^7.13.0",
24
+ "@babel/plugin-syntax-dynamic-import": "^7.8.3",
25
+ "@babel/plugin-transform-modules-commonjs": "^7.5.0",
26
+ "@babel/plugin-transform-runtime": "^7.5.5",
27
+ "@babel/plugin-transform-typescript": "^7.5.5",
28
+ "@babel/preset-env": "^7.5.5",
29
+ "@babel/preset-typescript": "^7.3.3",
30
+ "@babel/runtime": "^7.5.5",
31
+ "@studyportals/bob-manifest-generator": "^3.0.0-beta.1",
32
+ "@studyportals/browserslist-config": "^1.2.0",
33
+ "@studyportals/dll-availability-tracker": "^1.0.2",
34
+ "@studyportals/vue-config": "4.0.0-beta.4",
35
+ "babel-loader": "^8.2.3",
36
+ "css-loader": "^6.5.1",
37
+ "file-loader": "^6.2.0",
38
+ "mini-css-extract-plugin": "^2.5.3",
39
+ "optimize-css-assets-webpack-plugin": "^5.0.8",
40
+ "path": "^0.12.7",
41
+ "sass": "^1.49.7",
42
+ "sass-loader": "^12.4.0",
43
+ "terser-webpack-plugin": "^5.3.1",
44
+ "ts-loader": "^9.2.6",
45
+ "typescript": "^3.7.2",
46
+ "vue-loader": "^16.2.0",
47
+ "webpack": "^5.68.0",
48
+ "webpack-cli": "^4.9.1",
49
+ "webpack-merge": "^5.8.0"
50
+ },
51
+ "devDependencies": {
52
+ "@types/jest": "^27.4.0",
53
+ "@types/node": "^17.0.14",
54
+ "babel-jest": "^25.1.0",
55
+ "jest": "^25.1.0",
56
+ "ts-jest": "^25.2.1"
57
+ }
58
+ }
@@ -1,7 +1,8 @@
1
- "use strict";
2
- exports.__esModule = true;
3
- exports.DevelopmentConfig = {
4
- optimization: {
5
- minimize: false
6
- }
7
- };
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DevelopmentConfig = void 0;
4
+ exports.DevelopmentConfig = {
5
+ optimization: {
6
+ minimize: false
7
+ }
8
+ };