@repodog/rollup-config 4.0.12 → 4.0.14
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 +2 -2
- package/index.mjs +2 -1
- package/package.json +6 -6
package/README.md
CHANGED
package/index.mjs
CHANGED
|
@@ -18,12 +18,13 @@ const outputExtension = MODULE_SYSTEM === 'esm' ? 'mjs' : 'cjs';
|
|
|
18
18
|
|
|
19
19
|
const config = (options = {}) => {
|
|
20
20
|
console.log(`> Using @repodog/${options.compiler.name}-config`);
|
|
21
|
-
const extensions = ['.mjs', '.cjs', '.js', '.jsx', '.json', '.ts', '.tsx'];
|
|
22
21
|
|
|
23
22
|
if (!options.compiler) {
|
|
24
23
|
throw new Error('config.compiler is a required option. Both babel and swc rollup plugins are supported.');
|
|
25
24
|
}
|
|
26
25
|
|
|
26
|
+
const extensions = ['.mjs', '.cjs', '.js', '.jsx', '.json', '.ts', '.tsx'];
|
|
27
|
+
|
|
27
28
|
const plugins = [
|
|
28
29
|
json(),
|
|
29
30
|
nodeResolve({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@repodog/rollup-config",
|
|
3
3
|
"description": "The Repodog Rollup config module.",
|
|
4
|
-
"version": "4.0.
|
|
4
|
+
"version": "4.0.14",
|
|
5
5
|
"author": "miami-man",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/badbatch/repodog",
|
|
@@ -17,20 +17,20 @@
|
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@rollup/plugin-commonjs": "^
|
|
20
|
+
"@rollup/plugin-commonjs": "^29.0.3",
|
|
21
21
|
"@rollup/plugin-image": "^3.0.3",
|
|
22
22
|
"@rollup/plugin-json": "^6.1.0",
|
|
23
|
-
"@rollup/plugin-node-resolve": "^16.0.
|
|
24
|
-
"@rollup/plugin-terser": "^0.
|
|
23
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
24
|
+
"@rollup/plugin-terser": "^1.0.0",
|
|
25
25
|
"rollup-plugin-analyzer": "^4.0.0",
|
|
26
26
|
"rollup-plugin-copy": "^3.5.0",
|
|
27
27
|
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
28
|
-
"unplugin-macros": "^0.
|
|
28
|
+
"unplugin-macros": "^0.20.2"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"rollup": "<5"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"rollup": "^4.
|
|
34
|
+
"rollup": "^4.62.2"
|
|
35
35
|
}
|
|
36
36
|
}
|