Skip to content

publish "dist"#270

Closed
LumpyChen wants to merge 1 commit intodebug-js:masterfrom
LumpyChen:master
Closed

publish "dist"#270
LumpyChen wants to merge 1 commit intodebug-js:masterfrom
LumpyChen:master

Conversation

@LumpyChen
Copy link

I really don't know why dist won't be published.
If it's not published, the error in debug (bower component) will exist when I use BowerWebpackPlugin.
The error renders:

ERROR in debug (bower component)
Module not found: Error: Cannot resolve 'file' or 'directory' ./dist/debug.js in / {{ project's dir }} /node_modules/debug
 @ debug (bower component) 1:17-43

I really don't know why dist won't be published.
If it's not published, the error in debug (bower component) will exist when I use BowerWebpackPlugin.

```
ERROR in debug (bower component)
Module not found: Error: Cannot resolve 'file' or 'directory' ./dist/debug.js in /Users/Lumpychen/Documents/Learn/Javascript-practice/React/Question/node_modules/debug
 @ debug (bower component) 1:17-43
```
@jackwilsdon
Copy link

Looks like this is the same as #251, I don't know why they changed it in the first place.

@DevSide
Copy link
Contributor

DevSide commented Oct 25, 2016

I agree to publish a dist folder on NPM (along with a minifier version) but it should not be in the repository.

@thebigredgeek
Copy link
Contributor

Closing this as a duplicate of #251

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants