Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please include dist... #32

Closed
luncht1me opened this issue Dec 5, 2017 · 5 comments
Closed

Please include dist... #32

luncht1me opened this issue Dec 5, 2017 · 5 comments

Comments

@luncht1me
Copy link

Having to go into the ep folder after downloading it, and manually npm installing, and running make dist is a pain in the ass...

Not to mention, building needs additional configuration, as the Class EP element can't be converted to javascript properly out of the box (not using webpack, just bower / npm / node).

I had to make another .babelrc file with the following contents:

{
	"presets": ["es2015"]
}

in order to get make dist-script to work.

So please, for the love of god, for those who aren't using your exact development environment, or don't have any knowledge of debugging this kind of thing... please either include dist files of the latest build, or at the very least also include a .babelrc file so that make works without a webpack compiler.

@jh3y
Copy link
Owner

jh3y commented Dec 18, 2017

Hi @luncht1me 👋

No need for that tone 😄 I do understand the benefits of including dist. In fact, up until recently it was included with the source. #27 removed it on the premise that it would be coming through as part of the install and generated prepublish. I can confirm this is the case after installing version 2.0.5 with both npm and yarn locally. node_modules/@jh3y/ep/dist exists in both cases including both minified and unminified versions of the css and js.

Hope that helps!

@jh3y

@jh3y jh3y closed this as completed Dec 18, 2017
@luncht1me
Copy link
Author

luncht1me commented Dec 18, 2017 via email

@jh3y
Copy link
Owner

jh3y commented Dec 18, 2017

Hey @luncht1me

Ahh right. For sure, once everything is installed, then the different tasks to build can be ran.

I hadn't tried with bower but after testing with bower, I can confirm that dist is not present. Good spot! 👍 I'm wondering if there is a way to resolve this or if it's just easier to add those sources back into vc.

@jh3y

@jh3y jh3y reopened this Dec 18, 2017
@jh3y
Copy link
Owner

jh3y commented Dec 19, 2017

It seems there is likely a way to do this from looking at this issue thread 👍

@jh3y
Copy link
Owner

jh3y commented Oct 3, 2019

Closing as now bower even suggest migrating away from usage:

...psst! While Bower is maintained, we recommend using Yarn and Webpack or Parcel for front-end projects read how to migrate!

@jh3y jh3y closed this as completed Oct 3, 2019
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

No branches or pull requests

2 participants