Skip to main content

Search and Top Navigation

#15027 closed bug (notabug)

Opened August 08, 2016 12:34PM UTC

Closed August 10, 2016 08:40PM UTC

Last modified October 05, 2017 08:48AM UTC

"dist" folder not created while doing a npm install

Reported by: santoshgiridhar 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.

Attachments (0)
Change History (3)

Changed August 10, 2016 08:40PM UTC by scottgonzalez comment:1

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.

Changed August 18, 2016 12:50PM UTC by scottgonzalez comment:2

#15035 is a duplicate of this ticket.

Changed October 05, 2017 08:48AM UTC by johnstaveley comment:3

... 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