rollup-plugin-riot 9.0.1 → 10.0.0-beta.1
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/dist/rollup-plugin-riot.cjs +2 -2
- package/dist/rollup-plugin-riot.js +1 -1
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ import riot from 'rollup-plugin-riot'
|
|
|
26
26
|
export default {
|
|
27
27
|
input: 'src/main.js',
|
|
28
28
|
output: {
|
|
29
|
-
file: 'dist/bundle.js'
|
|
29
|
+
file: 'dist/bundle.js',
|
|
30
30
|
},
|
|
31
31
|
plugins: [riot()],
|
|
32
32
|
}
|
|
@@ -44,7 +44,7 @@ const options = {
|
|
|
44
44
|
export default {
|
|
45
45
|
input: 'src/main.js',
|
|
46
46
|
output: {
|
|
47
|
-
file: 'dist/bundle.js'
|
|
47
|
+
file: 'dist/bundle.js',
|
|
48
48
|
},
|
|
49
49
|
plugins: [riot(options)],
|
|
50
50
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var compiler = require('@riotjs/compiler');
|
|
5
|
-
var
|
|
5
|
+
var pluginutils = require('@rollup/pluginutils');
|
|
6
6
|
|
|
7
7
|
const justExt = (file) => {
|
|
8
8
|
const match = /[^/\\]\.([^./\\]*)$/.exec(file);
|
|
@@ -10,7 +10,7 @@ const justExt = (file) => {
|
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
function getFilter(opts) {
|
|
13
|
-
const filter =
|
|
13
|
+
const filter = pluginutils.createFilter(opts.include, opts.exclude);
|
|
14
14
|
|
|
15
15
|
const exts = Array.isArray(opts.ext) ? opts.ext : [opts.ext || 'riot'];
|
|
16
16
|
if (!exts.length) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* Rollup Riot.js Plugin, @license MIT */
|
|
2
2
|
import { compile } from '@riotjs/compiler';
|
|
3
|
-
import { createFilter } from 'rollup
|
|
3
|
+
import { createFilter } from '@rollup/pluginutils';
|
|
4
4
|
|
|
5
5
|
const justExt = (file) => {
|
|
6
6
|
const match = /[^/\\]\.([^./\\]*)$/.exec(file);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rollup-plugin-riot",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.0.0-beta.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Rollup plugin for Riot.js",
|
|
6
6
|
"jsnext:main": "dist/rollup-plugin-riot.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"files": [
|
|
20
20
|
"dist/"
|
|
21
21
|
],
|
|
22
|
-
"author": "Gianluca Guarini <gianluca.guarini@gmail.com> (
|
|
22
|
+
"author": "Gianluca Guarini <gianluca.guarini@gmail.com> (https://gianlucaguarini.com)",
|
|
23
23
|
"license": "MIT",
|
|
24
24
|
"bugs": "https://github.com/riot/rollup-plugin-riot/issues",
|
|
25
25
|
"keywords": [
|
|
@@ -31,20 +31,20 @@
|
|
|
31
31
|
"rollup": ">=2.53.1"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"rollup
|
|
34
|
+
"@rollup/pluginutils": "^5.1.4"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@riotjs/compiler": "^
|
|
37
|
+
"@riotjs/compiler": "^10.0.0-beta.1",
|
|
38
38
|
"@riotjs/prettier-config": "^1.1.0",
|
|
39
|
-
"chai": "^
|
|
40
|
-
"eslint": "^
|
|
41
|
-
"eslint-config-riot": "^
|
|
42
|
-
"fs-extra": "^11.
|
|
43
|
-
"mocha": "^
|
|
44
|
-
"postcss": "^8.4
|
|
45
|
-
"postcss-cssnext": "^3.1.
|
|
46
|
-
"prettier": "^3.
|
|
47
|
-
"rollup": "^
|
|
39
|
+
"chai": "^5.2.0",
|
|
40
|
+
"eslint": "^9.28.0",
|
|
41
|
+
"eslint-config-riot": "^5.0.2",
|
|
42
|
+
"fs-extra": "^11.3.0",
|
|
43
|
+
"mocha": "^11.5.0",
|
|
44
|
+
"postcss": "^8.5.4",
|
|
45
|
+
"postcss-cssnext": "^3.1.1",
|
|
46
|
+
"prettier": "^3.5.3",
|
|
47
|
+
"rollup": "^4.42.0"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"build": "rollup -c",
|