diff --git a/build/rollup.config.js b/build/rollup.config.js index 89cd7716..71b649a6 100644 --- a/build/rollup.config.js +++ b/build/rollup.config.js @@ -29,7 +29,8 @@ const { srcDir, outputDir } = require('./path'); const isDev = process.env.NODE_ENV === 'development'; -const inputs = glob.sync(path.join(srcDir, '**', '*.js')); +const globPath = p => p.replace(/\\/g, '/'); +const inputs = glob.sync(globPath(path.join(srcDir, '**', '*.js'))); const localExternals = inputs.map(input => ( path diff --git a/package-lock.json b/package-lock.json index e654aec6..781a09bc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@oat-sa/tao-core-sdk", - "version": "1.21.0", + "version": "1.21.1", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -1414,9 +1414,9 @@ "dev": true }, "@oat-sa/tao-core-libs": { - "version": "0.4.8", - "resolved": "https://registry.npmjs.org/@oat-sa/tao-core-libs/-/tao-core-libs-0.4.8.tgz", - "integrity": "sha512-/JtoZmzMXvpNvd1wEa4nVL9xo59dhVHQUvm7Dsmf+yH1sv4ktl9ovcJK8XVWilB7JbELqM5YxbMKlGgK4DiWSw==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@oat-sa/tao-core-libs/-/tao-core-libs-0.5.1.tgz", + "integrity": "sha512-1fAwH0INmP/Xmqn/lvD5Amcpncm8KSMk1IOS2/SZehkspQQnTq4zCOiUwBKttGr18nzzflySX3CUVY4xMuA/LA==", "dev": true }, "@oat-sa/tao-qunit-testrunner": { diff --git a/package.json b/package.json index 55ceb663..75a16892 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@oat-sa/tao-core-sdk", - "version": "1.21.0", + "version": "1.21.1", "displayName": "TAO Core SDK", "description": "Core libraries of TAO", "homepage": "https://github.com/oat-sa/tao-core-sdk-fe#readme", @@ -47,7 +47,7 @@ "@oat-sa/eslint-config-tao": "^1.1.1", "@oat-sa/expr-eval": "^1.3.1", "@oat-sa/prettier-config": "^0.1.1", - "@oat-sa/tao-core-libs": "^0.4.8", + "@oat-sa/tao-core-libs": "^0.5.1", "@oat-sa/tao-qunit-testrunner": "1.0.3", "async": "^0.2.10", "decimal.js": "10.1.1",