Skip to content

Commit

Permalink
fix: Use local versions of packages in ember-cli.
Browse files Browse the repository at this point in the history
  • Loading branch information
amiller-gh committed Sep 13, 2018
1 parent fbb941c commit 4c75501
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 9 deletions.
4 changes: 2 additions & 2 deletions packages/@css-blocks/ember-cli/index.js
Expand Up @@ -227,10 +227,10 @@ module.exports = {


if (options.output !== undefined && typeof options.output !== "string") {
throw new Error(`Invalid css-block options in 'ember-cli-build.js': Output must be a string or array. Instead received ${options.output}.`);
throw new Error(`Invalid css-blocks options in 'ember-cli-build.js': Output must be a string or array. Instead received ${options.output}.`);
}
if (!isEmber && typeof options.entry !== "string" && !Array.isArray(options.entry)) {
throw new Error(`Invalid css-block options in 'ember-cli-build.js': Entry must be a string or array. Instead received ${options.entry}.`);
throw new Error(`Invalid css-blocks options in 'ember-cli-build.js': Entry must be a string or array. Instead received ${options.entry}.`);
}
if (isEmber && options.entry) {
throw new Error(`CSS Blocks entry points are auto-discovered in Ember apps. Do not pass an "entry" option in your CSS Blocks config.`);
Expand Down

This file was deleted.

This file was deleted.

Expand Up @@ -5,7 +5,7 @@
"ember-addon"
],
"dependencies": {
"@css-blocks/ember-cli": "*",
"@css-blocks/ember-cli": "^0.20.0-beta.0",
"ember-cli": "*",
"ember-cli-htmlbars": "*",
"ember-cli-babel": "*"
Expand Down

This file was deleted.

Expand Up @@ -6,7 +6,7 @@
"ember-engine"
],
"dependencies": {
"@css-blocks/ember-cli": "*",
"@css-blocks/ember-cli": "^0.20.0-beta.0",
"ember-cli": "*",
"ember-cli-htmlbars": "*",
"ember-cli-babel": "*",
Expand Down

This file was deleted.

Expand Up @@ -6,7 +6,7 @@
"ember-engine"
],
"dependencies": {
"@css-blocks/ember-cli": "*",
"@css-blocks/ember-cli": "^0.20.0-beta.0",
"ember-cli": "*",
"ember-cli-htmlbars": "*",
"ember-cli-babel": "*"
Expand Down

0 comments on commit 4c75501

Please sign in to comment.