xshell 1.0.124 → 1.0.125

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/builder.js +3 -1
  2. package/package.json +1 -1
package/builder.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { fileURLToPath } from 'url';
1
2
  import Webpack from 'webpack';
2
3
  import { Lock, Timer, filter_values } from './utils.js';
3
4
  export class Bundler {
@@ -32,8 +33,9 @@ export class Bundler {
32
33
  this.analyzer = analyzer;
33
34
  // let smp = new SpeedMeasurePlugin()
34
35
  // const config: Webpack.Configuration = smp.wrap({
36
+ const fpd_node_modules = fileURLToPath(import.meta.resolve('ts-loader')).fdir.fdir;
35
37
  function get_loader(name) {
36
- return name;
38
+ return `${fpd_node_modules}${name}/`;
37
39
  }
38
40
  this.config = {
39
41
  name,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xshell",
3
- "version": "1.0.124",
3
+ "version": "1.0.125",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "bin": {