@studyportals/webpack-helper 5.0.0-3 → 5.0.0

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.
Files changed (2) hide show
  1. package/README.md +13 -0
  2. package/package.json +5 -4
package/README.md CHANGED
@@ -157,6 +157,19 @@ entry: {
157
157
  entry: {
158
158
  multiselect_v2: "./src/main.ts"
159
159
  }
160
+ ```
161
+ #### DLL
162
+
163
+ When working with a packaged component as a DLL, both the JS bundle and CSS bundle from the core package must be referenced, as below:
164
+ ```javascript
165
+
166
+ entry: {
167
+ multiselect_v2: [
168
+ '@studyportals/multiselect/dist/multiselect.js',
169
+ '@studyportals/multiselect/dist/multiselect.css'
170
+ ]
171
+ }
172
+
160
173
  ```
161
174
 
162
175
  ### output **(required)**
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@studyportals/webpack-helper",
3
- "version": "5.0.0-3",
3
+ "version": "5.0.0",
4
4
  "description": "A collection of standard configurations and helpers for webpack.",
5
5
  "main": "src/main.js",
6
6
  "scripts": {
7
7
  "test": "jest --coverage",
8
8
  "build": "tsc",
9
- "prepublish": "npm run build"
9
+ "prepublish": "npm run build",
10
+ "postinstall": "cp ./assets/.babelrc ./assets/.browserslistrc ../../../"
10
11
  },
11
12
  "files": [
12
13
  "src/**/*.js",
@@ -27,10 +28,10 @@
27
28
  "@babel/preset-env": "^7.5.5",
28
29
  "@babel/preset-typescript": "^7.3.3",
29
30
  "@babel/runtime": "^7.5.5",
30
- "@studyportals/bob-manifest-generator": "5.0.0-1",
31
+ "@studyportals/bob-manifest-generator": "5.0.0",
31
32
  "@studyportals/browserslist-config": "^1.2.0",
32
33
  "@studyportals/dll-availability-tracker": "^2.0.0",
33
- "@studyportals/vue-config": "^5.0.2-0",
34
+ "@studyportals/vue-config": "^5.0.2",
34
35
  "@types/jest": "^27.0.0",
35
36
  "@vue/cli-plugin-babel": "^5.0.4",
36
37
  "@vue/cli-plugin-unit-jest": "^5.0.4",