Comparing version 1.5.0 to 1.5.1
@@ -7,2 +7,6 @@ # Changelog | ||
## [1.5.1] - 2022-07-26 | ||
### Fixed | ||
- Removed peer dependencies from `package.json` which caused issues with multiple PixiJS versions when using bundlers. | ||
## [1.5.0] - 2022-07-23 | ||
@@ -9,0 +13,0 @@ ### Added |
{ | ||
"name": "pixi3d", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "The 3D renderer for PixiJS. Seamless integration with 2D applications.", | ||
@@ -44,15 +44,2 @@ "main": "dist/umd/pixi3d.js", | ||
"homepage": "https://github.com/jnsmalm/pixi3d#readme", | ||
"peerDependencies": { | ||
"@pixi/constants": "^6.0.2", | ||
"@pixi/core": "^6.0.2", | ||
"@pixi/display": "^6.0.2", | ||
"@pixi/interaction": "^6.0.2", | ||
"@pixi/loaders": "^6.0.2", | ||
"@pixi/math": "^6.0.2", | ||
"@pixi/mixin-get-child-by-name": "^6.0.2", | ||
"@pixi/settings": "^6.0.2", | ||
"@pixi/sprite": "^6.0.2", | ||
"@pixi/ticker": "^6.0.2", | ||
"@pixi/utils": "^6.0.2" | ||
}, | ||
"devDependencies": { | ||
@@ -59,0 +46,0 @@ "@rollup/plugin-commonjs": "^22.0.1", |
@@ -54,4 +54,4 @@ # Pixi3D | ||
### Using webpack | ||
To ensure that Pixi3D can be installed correctly to PixiJS as a plugin when using webpack, add the following to the webpack configuration: | ||
### Using bundlers | ||
For Pixi3D to be installed correctly to PixiJS as a plugin when using a bundler (like webpack or rollup), it's important that the app code and Pixi3D is using the same version of PixiJS (if there is more than one PixiJS version installed). To ensure that only a single version of PixiJS is used across the app, set alias in the bundler config file. For example, the webpack configuration may look like this: | ||
@@ -66,11 +66,11 @@ *webpack.config.js* | ||
alias: { | ||
"@pixi/core": path.resolve(__dirname, "node_modules/@pixi/core"), | ||
"@pixi/loaders": path.resolve(__dirname, "node_modules/@pixi/loaders"), | ||
"@pixi/settings": path.resolve(__dirname, "node_modules/@pixi/settings"), | ||
"@pixi/math": path.resolve(__dirname, "node_modules/@pixi/math"), | ||
"@pixi/display": path.resolve(__dirname, "node_modules/@pixi/display"), | ||
"@pixi/constants": path.resolve(__dirname, "node_modules/@pixi/constants"), | ||
"@pixi/utils": path.resolve(__dirname, "node_modules/@pixi/utils"), | ||
"@pixi/ticker": path.resolve(__dirname, "node_modules/@pixi/ticker"), | ||
"@pixi/sprite": path.resolve(__dirname, "node_modules/@pixi/sprite") | ||
"@pixi/core": path.resolve(__dirname, "node_modules/pixi.js/node_modules/@pixi/core"), | ||
"@pixi/loaders": path.resolve(__dirname, "node_modules/pixi.js/node_modules/@pixi/loaders"), | ||
"@pixi/settings": path.resolve(__dirname, "node_modules/pixi.js/node_modules/@pixi/settings"), | ||
"@pixi/math": path.resolve(__dirname, "node_modules/pixi.js/node_modules/@pixi/math"), | ||
"@pixi/display": path.resolve(__dirname, "node_modules/pixi.js/node_modules/@pixi/display"), | ||
"@pixi/constants": path.resolve(__dirname, "node_modules/pixi.js/node_modules/@pixi/constants"), | ||
"@pixi/utils": path.resolve(__dirname, "node_modules/pixi.js/node_modules/@pixi/utils"), | ||
"@pixi/ticker": path.resolve(__dirname, "node_modules/pixi.js/node_modules/@pixi/ticker"), | ||
"@pixi/sprite": path.resolve(__dirname, "node_modules/pixi.js/node_modules/@pixi/sprite") | ||
} | ||
@@ -77,0 +77,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
3770223
0
0