@daz4126/helium 0.25.0 → 0.26.0

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.
Files changed (2) hide show
  1. package/helium.js +2 -1
  2. package/package.json +1 -1
package/helium.js CHANGED
@@ -201,7 +201,8 @@ async function processElements(element) {
201
201
  if (importAttr) {
202
202
  importAttr.split(",").map(m => m.trim()).forEach(moduleName => {
203
203
  importPromises.push(
204
- import(`helium_modules/${moduleName}`)
204
+ const prefix = 'helium_' + 'modules/';
205
+ import(prefix + moduleName)
205
206
  .then(module => {
206
207
  Object.keys(module).forEach(key => state[key] = module[key]);
207
208
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daz4126/helium",
3
- "version": "0.25.0",
3
+ "version": "0.26.0",
4
4
  "main": "helium.js",
5
5
  "type": "module",
6
6
  "scripts": {