Skip to content

Commit

Permalink
fix: allow .ts extension for entry file
Browse files Browse the repository at this point in the history
  • Loading branch information
janvennemann committed May 14, 2020
1 parent 3d11ce2 commit 095429b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils.js
Expand Up @@ -3,7 +3,7 @@ const globby = require('globby');
const path = require('path');
const { DOMParser, XMLSerializer } = require('xmldom');

const entryRegex = /app[/\\]alloy.js$/;
const entryRegex = /app[/\\]alloy\.(j|t)s$/;
const internalsRegex = /node_modules[/\\]alloy[/\\]/;
const componentRegex = /(?:[/\\]widgets[/\\][^/\\]+)?[/\\](?:controllers|views)[/\\](.*)/;
const modelRegex = /(?:[/\\]widgets[/\\][^/\\]+)?[/\\]models[/\\](.*)/;
Expand Down

0 comments on commit 095429b

Please sign in to comment.