@onepercentio/one-ui 1.3.0 → 1.3.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.
@@ -221,7 +221,7 @@ async function createConfig(
221
221
  });
222
222
 
223
223
  whereToPlaceTheNewLoaderPath.splice(1, 0, {
224
- test: [/\.email\.tsx/, /\.document\.tsx/],
224
+ test: [/\.email\.tsx/],
225
225
  use: [
226
226
  {
227
227
  loader: babelLoader.loader,
@@ -238,6 +238,25 @@ async function createConfig(
238
238
  },
239
239
  ],
240
240
  });
241
+
242
+ whereToPlaceTheNewLoaderPath.splice(1, 0, {
243
+ test: [/\.document\.tsx/],
244
+ use: [
245
+ {
246
+ loader: babelLoader.loader,
247
+ options: babelLoader.options,
248
+ },
249
+ {
250
+ loader: join(__dirname, "loaders", "static-loader"),
251
+ options: {
252
+ features: {
253
+ ...features,
254
+ inlineCSS: false,
255
+ },
256
+ },
257
+ },
258
+ ],
259
+ });
241
260
  if (features.replaceCSSRules)
242
261
  baseConfig.module.rules.unshift({
243
262
  test: /\.svg$/,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onepercentio/one-ui",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "A set of reusable components created through the development of Onepercent projects",
5
5
  "repository": "git@github.com:onepercentio/one-ui.git",
6
6
  "author": "Murilo Oliveira de Araujo <murilo.araujo@onepercent.io>",