pulse-js-framework 1.4.1 → 1.4.3

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/cli/dev.js CHANGED
@@ -79,7 +79,7 @@ export async function startDevServer(args) {
79
79
  try {
80
80
  const source = readFileSync(filePath, 'utf-8');
81
81
  const result = compile(source, {
82
- runtime: '/node_modules/pulse-framework/runtime/index.js'
82
+ runtime: '/node_modules/pulse-js-framework/runtime/index.js'
83
83
  });
84
84
 
85
85
  if (result.success) {
@@ -108,8 +108,8 @@ export async function startDevServer(args) {
108
108
  }
109
109
 
110
110
  // Handle node_modules
111
- if (pathname.startsWith('/node_modules/pulse-framework/')) {
112
- const modulePath = join(root, '..', 'pulse', pathname.replace('/node_modules/pulse-framework/', ''));
111
+ if (pathname.startsWith('/node_modules/pulse-js-framework/')) {
112
+ const modulePath = join(root, '..', 'pulse', pathname.replace('/node_modules/pulse-js-framework/', ''));
113
113
  if (existsSync(modulePath)) {
114
114
  const content = readFileSync(modulePath, 'utf-8');
115
115
  res.writeHead(200, { 'Content-Type': 'application/javascript' });