@danielx/civet 0.4.0 → 0.4.1

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.
@@ -8,7 +8,7 @@ module.exports = {
8
8
  name: 'civet',
9
9
  setup(build) {
10
10
  build.onLoad({
11
- filter: /\.civet$/,
11
+ filter: /\.civet$/
12
12
  }, async function(args) {
13
13
  try {
14
14
  const source = await readFile(args.path, 'utf8');
@@ -20,7 +20,7 @@ module.exports = {
20
20
  catch (e) {
21
21
  return {
22
22
  errors: [{
23
- text: e.message,
23
+ text: e.message
24
24
  }],
25
25
  };
26
26
  };
package/dist/esm.mjs CHANGED
@@ -118,7 +118,7 @@ require.extensions[".civet"] = function(m, filename) {
118
118
  const code = compile(source, {
119
119
  filename,
120
120
  inlineMap: true,
121
- js: true,
121
+ js: true
122
122
  });
123
123
 
124
124
  //@ts-ignore TODO: Figure out how to load types from inculde folders in Civet LSP