@reactunity/scripts 0.19.0 → 0.19.2

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.
@@ -175,7 +175,9 @@ const baseConfigFactory = function (webpackEnv) {
175
175
  {
176
176
  loader: require.resolve(preProcessor),
177
177
  options: {
178
+ api: 'modern',
178
179
  sourceMap: true,
180
+ warnRuleAsWarning: false,
179
181
  },
180
182
  }
181
183
  );
@@ -213,7 +215,7 @@ const baseConfigFactory = function (webpackEnv) {
213
215
  chunkFilename: isEnvProduction
214
216
  ? 'static/js/[name].chunk.js'
215
217
  : isEnvDevelopment && 'static/js/[name].chunk.js',
216
- assetModuleFilename: 'static/media/[name][ext]',
218
+ assetModuleFilename: 'static/media/[name][ext][ext]',
217
219
  // webpack uses `publicPath` to determine where the app is being served from.
218
220
  // It requires a trailing slash, or the file assets will get an incorrect path.
219
221
  // We inferred the "public path" (such as / or /my-project) from homepage.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reactunity/scripts",
3
- "version": "0.19.0",
3
+ "version": "0.19.2",
4
4
  "description": "Configuration and scripts for React Unity.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -111,7 +111,7 @@
111
111
  },
112
112
  "peerDependencies": {
113
113
  "@reactunity/previewer": "*",
114
- "@reactunity/renderer": "^0.18.0",
114
+ "@reactunity/renderer": "^0.19.0",
115
115
  "react": "^18.0.0",
116
116
  "typescript": ">=5"
117
117
  },