@danielx/civet 0.4.13 → 0.4.15

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.
@@ -13,8 +13,14 @@ module.exports = {
13
13
  try {
14
14
  const source = await readFile(args.path, 'utf8')
15
15
  const filename = path.relative(process.cwd(), args.path)
16
+ const compiled = compile(source, {
17
+ filename,
18
+ inlineMap: true,
19
+ js: true
20
+ })
21
+
16
22
  return {
17
- contents: compile(source, { filename, js: true }),
23
+ contents: compiled,
18
24
  }
19
25
  }
20
26
  catch (e) {
package/dist/esm.mjs CHANGED
@@ -36,7 +36,7 @@ function normalizeSlashes(value) {
36
36
  }
37
37
 
38
38
  const ensureRegister = function() {
39
- if( registered) {return}
39
+ if (registered)return
40
40
 
41
41
  const installation = {
42
42
  environment: 'node',