You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The loader does support scripts modules, files with the `.mjs` extension.
59
+
60
+
However, due to the limitations imposed on those files in regard to the MIME, we added a support to those files ending with `.module.js`.
61
+
This permits us to load those files as script modules too even if we do not have control over the server configuration.
62
+
63
+
Moreover, if your file ends with `.module.js` or `.mjs`, the loader will automatically resolve these files as a `Inpsyde/Assets/ScriptModule`.
64
+
Additionally, we support `@vendor/` in the handle name when parsing from `manifest.json`. Before, the `@vendor/` was detected as part of the filepath and being stripped away.
65
+
55
66
### `EncoreEntrypointsLoader`
56
67
57
68
[Symfony Webpack Encore](https://symfony.com/doc/current/frontend.html) provides a custom implementation of the [assets-webpack-plugin](https://www.npmjs.com/package/assets-webpack-plugin) which groups asset chunks into a single array for a given handle.
0 commit comments