@ripple-ts/rollup-plugin 0.3.46 → 0.3.48
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/CHANGELOG.md +17 -0
- package/index.js +5 -5
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @ripple-ts/rollup-plugin
|
|
2
2
|
|
|
3
|
+
## 0.3.48
|
|
4
|
+
|
|
5
|
+
## 0.3.47
|
|
6
|
+
|
|
7
|
+
### Patch Changes
|
|
8
|
+
|
|
9
|
+
- [#1063](https://github.com/Ripple-TS/ripple/pull/1063)
|
|
10
|
+
[`a960343`](https://github.com/Ripple-TS/ripple/commit/a960343169aee906162211c502b6cc6b74e2a124)
|
|
11
|
+
Thanks [@leonidaz](https://github.com/leonidaz)! - Standardizes compile api
|
|
12
|
+
across all packages, including forcing types to adhere to the standard. Adds
|
|
13
|
+
more debug compile options to the playgrounds.
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
[[`eae7b40`](https://github.com/Ripple-TS/ripple/commit/eae7b4047f4d8cc7a0278fb48ffe630d73a592c6),
|
|
16
|
+
[`b34b95a`](https://github.com/Ripple-TS/ripple/commit/b34b95a808ec801109d1818f4d24ae0bbc00f66b),
|
|
17
|
+
[`a960343`](https://github.com/Ripple-TS/ripple/commit/a960343169aee906162211c502b6cc6b74e2a124)]:
|
|
18
|
+
- @tsrx/ripple@0.0.29
|
|
19
|
+
|
|
3
20
|
## 0.3.46
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/index.js
CHANGED
|
@@ -53,14 +53,14 @@ export default function (options = {}) {
|
|
|
53
53
|
|
|
54
54
|
const filename = path.relative(process.cwd(), id);
|
|
55
55
|
|
|
56
|
-
const
|
|
56
|
+
const result = await compile(code, filename, id);
|
|
57
57
|
|
|
58
|
-
if (emitCss && css
|
|
58
|
+
if (emitCss && result.css) {
|
|
59
59
|
const fname = id.replace(new RegExp(`\\${extension}$`), '.css');
|
|
60
|
-
|
|
61
|
-
cache_emit.set(fname, css);
|
|
60
|
+
result.code += `\nimport ${JSON.stringify(fname)};\n`;
|
|
61
|
+
cache_emit.set(fname, result.css);
|
|
62
62
|
}
|
|
63
|
-
return
|
|
63
|
+
return { code: result.code, map: result.map };
|
|
64
64
|
},
|
|
65
65
|
};
|
|
66
66
|
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Rollup plugin for Ripple",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Dominic Gannaway",
|
|
6
|
-
"version": "0.3.
|
|
6
|
+
"version": "0.3.48",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "index.js",
|
|
9
9
|
"homepage": "https://ripple-ts.com",
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@rollup/pluginutils": "^5.3.0",
|
|
20
|
-
"@tsrx/ripple": "0.0.
|
|
20
|
+
"@tsrx/ripple": "0.0.29"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"rollup": "^4.59.0",
|
|
24
24
|
"source-map": "^0.7.6",
|
|
25
25
|
"uvu": "^0.5.6",
|
|
26
|
-
"ripple": "0.3.
|
|
26
|
+
"ripple": "0.3.48"
|
|
27
27
|
},
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public"
|