diff --git a/package.json b/package.json index fa99d1d8..a240f8e1 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "@pixi/text": "^5.4.0-rc.3", "@pixi/ticker": "5.4.0-rc.3", "@pixi/utils": "^5.4.0-rc.3", + "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-replace": "^2.3.1", "browserify-derequire": "^0.9.4", "chai": "^4.2.0", diff --git a/rollup.config.js b/rollup.config.js index be79a4a2..ea7a5bd1 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -6,6 +6,7 @@ import resolve from 'rollup-plugin-node-resolve'; import commonjs from 'rollup-plugin-commonjs'; import ts from 'rollup-plugin-ts'; import jscc from 'rollup-plugin-jscc'; +import json from '@rollup/plugin-json'; async function main() { @@ -20,6 +21,7 @@ async function main() preferBuiltins: false, }), commonjs({ extensions: ['.js', '.ts'] }), + json(), ]; const compiled = (new Date()).toUTCString().replace(/GMT/g, 'UTC'); diff --git a/tsconfig.json b/tsconfig.json index ba743d7c..bec68400 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -14,6 +14,7 @@ "node_modules/resource-loader/typings/mini-signals.d.ts" ] }, + "skipLibCheck": true, }, "include": [ "src/**/*.ts"