@eightshift/frontend-libs-tailwind 2.0.1 → 2.0.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.
package/CHANGELOG.md CHANGED
@@ -6,6 +6,12 @@ This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a
6
6
 
7
7
  ---
8
8
 
9
+ ## [2.0.2]
10
+
11
+ ### Fixed
12
+
13
+ - Broken import on mjs files.
14
+
9
15
  ## [2.0.1]
10
16
 
11
17
  ### Removed
@@ -210,6 +216,7 @@ This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a
210
216
  - Initial release.
211
217
 
212
218
  [Unreleased]: https://github.com/infinum/eightshift-frontend-libs-tailwind/compare/master...HEAD
219
+ [2.0.2]: https://github.com/infinum/eightshift-frontend-libs-tailwind/compare/2.0.1...2.0.2
213
220
  [2.0.1]: https://github.com/infinum/eightshift-frontend-libs-tailwind/compare/2.0.0...2.0.1
214
221
  [2.0.0]: https://github.com/infinum/eightshift-frontend-libs-tailwind/compare/1.5.0...2.0.0
215
222
  [1.5.0]: https://github.com/infinum/eightshift-frontend-libs-tailwind/compare/1.4.8...1.5.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eightshift/frontend-libs-tailwind",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "A framework for creating modern Gutenberg themes with styling provided by Tailwind CSS.",
5
5
  "author": {
6
6
  "name": "Eightshift team",
package/webpack/base.mjs CHANGED
@@ -73,6 +73,16 @@ export default (options) => {
73
73
  });
74
74
  }
75
75
 
76
+ // Module for MJS.
77
+ if (!options.overrides.includes('mjs')) {
78
+ module.rules.push({
79
+ test: /\.m?js/,
80
+ resolve: {
81
+ fullySpecified: false,
82
+ },
83
+ });
84
+ }
85
+
76
86
  // Module for CSS.
77
87
  if (!options.overrides.includes('css')) {
78
88
  module.rules.push({