Coder Social home page Coder Social logo

Comments (9)

LaniMoo avatar LaniMoo commented on July 24, 2024

I'd also like to know the answer to this. Thanks!

from expose-loader.

simonemazzoni avatar simonemazzoni commented on July 24, 2024

I'm interested too. I can't find a way to expose jquery with jquery-ui to properly use animations.

from expose-loader.

michael-ciniawsky avatar michael-ciniawsky commented on July 24, 2024

I will come back soon, but I need to ask @slack about this, an example config (webpack.config.js), demo repo etc from one of you guys would be helpful and appreciated 😛

from expose-loader.

steffanhalv avatar steffanhalv commented on July 24, 2024

Any update on this?

Edit:

I managed to combine them by adding:

import $ from 'expose-loader?$!jquery'
import 'jqueryui/jquery-ui.css'
import 'jqueryui'

from expose-loader.

IronSean avatar IronSean commented on July 24, 2024

@steffanhalv the first line of your answer doesn't work in TypeScript:
TS2307: Cannot find module 'expose-loader?$!jquery'.

I can expose bootstrap extensions on the jQuery namespace by just doing
import "expose-loader?$!jquery" import "bootstrap"

but I've yet to figure out how to get any jQuery UI package to expose $.ui.

from expose-loader.

steffanhalv avatar steffanhalv commented on July 24, 2024

I havent tried with typescript, Im using latest babel with env preset.
I could use jqueryui with jquery by:

import 'jquery-ui'
import $ from 'expose-loader?$!jquery'

from expose-loader.

alexander-akait avatar alexander-akait commented on July 24, 2024

@steffanhalv can you create minimum reproducible test repo?

from expose-loader.

steffanhalv avatar steffanhalv commented on July 24, 2024

from expose-loader.

alexander-akait avatar alexander-akait commented on July 24, 2024

Closing due to inactivity. Please test with latest version and feel free to reopen if still regressions. Thanks! ETA is the next major release is end of week with a lot of fixes

from expose-loader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.