Skip to content

Conversation

@webark
Copy link

@webark webark commented Jan 4, 2018

based off of ember-cli/ember-cli#7401 nodeModulesPath has been depreciated, and resolveSync is a preferred alternative. nodeModulesPath has been removed in Ember Cli 3.x and it's use here breaks 3.x builds.

webark added 2 commits January 4, 2018 08:49
based off of ember-cli/ember-cli#7401 `nodeModulesPath` has been depreciated, and `resolveSync` is a preferred alternative. `nodeModulesPath` has been removed in Ember Cli 3.x and it's use here breaks 3.x builds.
@webark
Copy link
Author

webark commented Jan 17, 2018

@HeroicEric any word on you possibly getting this merged in?

var normalizeTree = new Funnel(this.treeGenerator(normalizePath), {
srcDir: '/',
destDir: '/app/styles'
var normalizeModulePath = path.dirname(this.project.resolveSync('normalize.css'));
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@webark resolveSync is a private method on project. require.resolve should work, no?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably.. i just started doing an import statement and dropped this addon, which should be the preferred method going forward.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@webark I just did the same :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants