ashiguruma / patternomaly

Easily generate patterns for use in data graphics
MIT License
524 stars 37 forks source link

Conflict in .babelrc between Rollup and Tape when using ES2015 #4

Closed ashiguruma closed 7 years ago

ashiguruma commented 7 years ago

Rollup requires that the custom es2015-rollup preset be specified in .babelrc or that transform-es2015-modules-commonjs is omitted when specifying specific transforms. However the Babel Tape Runner project requires the CommonJS module. As a result it's not possible to run both Rollup and Babel Tape Runner using the same .babelrc file.

The Babel documentation states that Babel will search up the tree from the current directory, implying that the test directory could have it's own .babelrc file. This is not the case as Babel Tape Runner — or the babel module(s) it utilises — don't seem to respect this rule.

ashiguruma commented 7 years ago

Switching Tape for Mocha

ashiguruma commented 7 years ago

Closed now that Tape has been replaced.