Skip to content

Commit 2032c29

Browse files
committed
not node_modules
1 parent 7a49357 commit 2032c29

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

packages/synthesis-compiler/.versions

Lines changed: 2 additions & 2 deletions

packages/synthesis-compiler/package.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package.describe({
22
name: 'mwc:synthesis-compiler',
3-
version: '1.2.0',
3+
version: '1.2.1',
44
summary: 'Synthesis is meteor + polymer',
55
git: 'https://github.com/meteorwebcomponents/synthesis',
66
documentation: 'README.md',

packages/synthesis-compiler/synthesis-compiler.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,11 +205,11 @@ class DissectHtml {
205205
babelJs(js) {
206206
const babelOptions = Babel.getDefaultOptions();
207207
// const prod = process.env.NODE_ENV ==='production';
208-
// const external = this.sourceName.match(/(bower_components|node_modules)\//);
208+
const external = this.sourceName.match(/node_modules\//);
209209
// const buildFile = this.sourceName === 'imports/ui/build.html';
210210
// return (!external && !buildFile) ? Babel.compile(js, babelOptions).code : js;
211211
try {
212-
return Babel.compile(js, babelOptions).code;
212+
return !external ? Babel.compile(js, babelOptions).code: js;
213213
}
214214
catch (err) {
215215
console.error(`Error in ${this.sourceName}`);

packages/synthesis-jade/package.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package.describe({
22
name: 'mwc:synthesis-jade',
3-
version: '1.2.1',
3+
version: '1.2.2',
44
summary: 'Synthesis is meteor + polymer',
55
git: 'https://github.com/meteorwebcomponents/synthesis',
66
documentation: 'README.md',
@@ -26,7 +26,7 @@ Package.onTest((api) => {
2626
Package.registerBuildPlugin({
2727
name: 'synthesis-jade',
2828
use: [
29-
29+
3030
3131
3232
],

packages/synthesis/.versions

Lines changed: 3 additions & 3 deletions

packages/synthesis/package.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package.describe({
22
name: 'mwc:synthesis',
3-
version: '1.2.0',
3+
version: '1.2.2',
44
summary: 'Synthesis is meteor + polymer',
55
git: 'https://github.com/meteorwebcomponents/synthesis',
66
documentation: 'README.md',
@@ -26,7 +26,7 @@ Package.onTest((api) => {
2626
Package.registerBuildPlugin({
2727
name: 'synthesis',
2828
use: [
29-
29+
3030
3131
3232
],

0 commit comments

Comments
 (0)