4.7.2 • Published 1 year ago

@talentsoft-opensource/integration-dll v4.7.2

Weekly downloads
4
License
MIT
Repository
-
Last release
1 year ago

What this package is used for?

This package is used to group all dependencies needed by a partner widget. It helps to reduce the package compilation time and improves the client side cache reuse.

How to use this package?

This package defines a webpack dll. In order to use it in a widget package:

  • add integration-dll in the package dependencies
  • in the webpack configuration, reference the dll:
    const webpack = require('webpack');

    module.exports = {
        ...
        plugins: [
            ...
            new webpack.DllReferencePlugin({
                context: '.',
                manifest: require('./node_modules/@talentsoft-opensource/integration-dll/dist/integration-manifest.json')
            }),
            ...
        ],
        ...
    }

This way, if a dependency is referenced in integration-dll is imported in the widget package, webpack won't add it to the widget bundle and will instead load it from integration-dll.

Warning: It seems that importing a less dependency from a less file doesn't work well with the webpack dll system. In order to make it work correctly it is necessary to place all imports in a js/ts/tsx file.

4.7.2

1 year ago

4.7.1

1 year ago

4.7.0

1 year ago

4.6.8

1 year ago

4.6.7

2 years ago

4.6.6

2 years ago

4.6.5

2 years ago

4.7.0-TSM-329.0

2 years ago

4.6.1

2 years ago

4.6.1-TSM-311.0

2 years ago

4.6.0

2 years ago

4.6.0-TSM-301.1

2 years ago

4.6.0-TSM-301.0

2 years ago

4.5.1

2 years ago

4.5.0

2 years ago

4.5.0-TSM-295.0

2 years ago

4.4.0-TSM-295.0

2 years ago

4.4.0

2 years ago

4.3.0

2 years ago

4.2.0

2 years ago

4.2.0-TSM-291.2

2 years ago

4.1.1

2 years ago

4.2.0-TSM-275.0

2 years ago

4.2.0-TSM-291.1

3 years ago

4.1.0

3 years ago

4.0.2

3 years ago

4.1.0-TSM-269.2

3 years ago

4.1.0-TSM-269.1

3 years ago

4.1.0-TSM-269.0

3 years ago

4.0.2-alpha.0

3 years ago

4.0.1

3 years ago

4.0.1-TSM-259.1

3 years ago

4.0.1-TSM-259.0

3 years ago

4.0.0

3 years ago

4.0.0-TSM-254.0

3 years ago

3.6.0

3 years ago

3.5.0

3 years ago

3.5.0-TSM-191.4

3 years ago

3.5.0-TSM-207.0

3 years ago

3.5.0-TSM-191.3

3 years ago

3.5.0-TSM-191.2

3 years ago

3.5.0-TSM-191.1

3 years ago

3.5.0-TSM-191.0

3 years ago

3.4.0

3 years ago

3.4.0-TSM-192.0

3 years ago

3.3.0

3 years ago

3.3.0-TSM-197.1

3 years ago

3.2.0

3 years ago

3.1.0

3 years ago

3.0.0

3 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago