Opened 7 years ago

Closed 7 years ago

Last modified 5 years ago

#15027 closed bug (notabug)

"dist" folder not created while doing a npm install

Reported by: santa Owned by:
Priority: minor Milestone: none
Component: [meta] ui.build Version: 1.12.0
Keywords: Cc:
Blocked by: Blocking:

Description

Hi Team,

https://www.npmjs.com/package/jquery-ui

Followed the steps, npm install jquery-ui --save

But, the extracted node_modules/jquery-ui/ doesn't have dist folder.

How do I access the core minified file?

Do I need to alway do import 'jquery-ui/themes/base/datepicker.css'; import 'jquery-ui/ui/widgets/datepicker.js';

to get a datepicker widget?

please correct me if am wrong? As a simple --> import 'jquery-ui'; is not working for me.

Change History (3)

comment:1 Changed 7 years ago by Scott González

Resolution: notabug
Status: newclosed

The npm module isn't supposed to contain a dist folder. If you want minified files, you should generate them yourself using whatever process you use to minify the rest of your code.

Please read the upgrade guide for more information.

comment:2 Changed 7 years ago by Scott González

#15035 is a duplicate of this ticket.

comment:3 Changed 5 years ago by John Staveley

... and this is why I will be using bower. Frankly the loss of productivity understanding which files I need and which I don't and which order I need to do everything in is not worth the effort for the fractional gain in web page speed. Not everyone is a gulp genius or wants to be

Note: See TracTickets for help on using tickets.