Skip to content
#

module-bundler

Here are 29 public repositories matching this topic...

blaasvaer
blaasvaer commented Mar 1, 2020

Hi, I've been trying to figure out from the docs (and google) to implement externalization of modules in Browserify with no luck. I've implemented transform-runtime plugins, and used .external(filename) in Gulp and tried to use require() in another module ... but I general cannot figure out from the docs what part or parts I'm missing in making this work.

Could someone please, add a brief secti

therealparmesh
therealparmesh commented Jan 29, 2020

It may be convenient to expose something to consumers that will make it easier to use Jest - something like the default babel options (presets, plugins, etc.) or a transform module (see something like https://github.com/ActuallyACat/jest-esm-transformer).

This makes using syntax like import/export much easier for folks who use this amazing library for bundling and Jest for tests.

Thank y

chasenlehara
chasenlehara commented Sep 3, 2019

I was expecting this configuration to work in can-route:

steal = {
	paths: {
		'src/routedata': 'src/routedata-definemap.js'
	}
};

Instead, I had to include can-route in the mapping:

steal = {
	paths: {
		'can-route/src/routedata': 'src/routedata-definemap.js'
	}
};

Is this expected? If so, can some more documentation around this be added?

ui5-tooling

Improve this page

Add a description, image, and links to the module-bundler topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the module-bundler topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.