@acuteinfo/common-screens 1.0.45 → 1.0.47
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/dist/index.js +8 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -3
- package/rollup.config.mjs +3 -9
- package/tsconfig.json +2 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acuteinfo/common-screens",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.47",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -81,11 +81,9 @@
|
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@rollup/plugin-babel": "^6.0.4",
|
|
83
83
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
84
|
-
"@rollup/plugin-image": "^3.0.3",
|
|
85
84
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
86
85
|
"@rollup/plugin-terser": "^0.4.4",
|
|
87
86
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
88
|
-
"@rollup/plugin-url": "^8.0.2",
|
|
89
87
|
"@testing-library/jest-dom": "^4.2.4",
|
|
90
88
|
"@testing-library/react": "^9.3.2",
|
|
91
89
|
"@testing-library/user-event": "^7.1.2",
|
package/rollup.config.mjs
CHANGED
|
@@ -5,11 +5,9 @@ import postcss from "rollup-plugin-postcss";
|
|
|
5
5
|
import simplevars from "postcss-simple-vars";
|
|
6
6
|
import nested from "postcss-nested";
|
|
7
7
|
import nodePolyfills from "rollup-plugin-node-polyfills";
|
|
8
|
-
import url from "@rollup/plugin-url";
|
|
9
8
|
import resolve from "@rollup/plugin-node-resolve";
|
|
10
9
|
import commonjs from "@rollup/plugin-commonjs";
|
|
11
10
|
import terser from "@rollup/plugin-terser";
|
|
12
|
-
import image from "@rollup/plugin-image";
|
|
13
11
|
import rebase from "rollup-plugin-rebase";
|
|
14
12
|
|
|
15
13
|
export default defineConfig({
|
|
@@ -53,16 +51,12 @@ export default defineConfig({
|
|
|
53
51
|
extensions: [".css"],
|
|
54
52
|
plugins: [simplevars(), nested()],
|
|
55
53
|
}),
|
|
56
|
-
//
|
|
57
|
-
// include: ["**/*.svg", "**/*.png", "**/*.jpg", "**/*.gif"],
|
|
58
|
-
// // emitFiles: true,
|
|
59
|
-
// limit: 0,
|
|
60
|
-
// fileName: "[name][extname]",
|
|
61
|
-
// }),
|
|
62
|
-
// image(),
|
|
54
|
+
// to support files other than JS like images
|
|
63
55
|
rebase({
|
|
64
56
|
assetFolder: "assets",
|
|
65
57
|
keepName: true,
|
|
66
58
|
}),
|
|
67
59
|
],
|
|
60
|
+
// need to use when using rollup-plugin-rebase
|
|
61
|
+
makeAbsoluteExternalsRelative: true,
|
|
68
62
|
});
|
package/tsconfig.json
CHANGED
|
@@ -19,9 +19,7 @@
|
|
|
19
19
|
"noImplicitAny": false,
|
|
20
20
|
"noFallthroughCasesInSwitch": true,
|
|
21
21
|
"baseUrl": "src",
|
|
22
|
-
"allowUmdGlobalAccess": true
|
|
23
|
-
"outDir": "./dist"
|
|
22
|
+
"allowUmdGlobalAccess": true
|
|
24
23
|
},
|
|
25
|
-
"include": ["src"]
|
|
26
|
-
"exclude": ["node_modules", "dist"]
|
|
24
|
+
"include": ["src"]
|
|
27
25
|
}
|