We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c301cb2 commit aa86fcfCopy full SHA for aa86fcf
4 files changed
.gitignore
@@ -48,3 +48,4 @@ build
48
/index-*.js
49
/glsl.js
50
/index.js
51
+/index.d.ts
.rolluprc
@@ -2,6 +2,7 @@ const babel = require('rollup-plugin-babel');
2
const resolve = require('rollup-plugin-node-resolve');
3
const minify = require('rollup-plugin-babel-minify');
4
const commonjs = require('rollup-plugin-commonjs');
5
+const copy = require('rollup-plugin-copy');
6
7
module.exports = [
8
{
@@ -29,6 +30,14 @@ module.exports = [
29
30
exclude: 'node_modules/**',
31
presets: [['@babel/preset-env', { modules: false }]]
32
}),
33
+ copy({
34
+ targets: [
35
+ {
36
+ src: "src/index.d.ts",
37
+ dest: "./",
38
+ }
39
+ ]
40
+ })
41
]
42
}, ...[
43
@@ -71,6 +80,6 @@ module.exports = [
71
80
bannerNewLine: true
72
81
})
73
82
74
- }
83
+ };
75
84
76
85
];
0 commit comments