4.7.2 • Published 3 years ago

@talentsoft-opensource/integration-dll v4.7.2

Weekly downloads
4
License
MIT
Repository
-
Last release
3 years 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

3 years ago

4.7.1

3 years ago

4.7.0

4 years ago

4.6.8

4 years ago

4.6.7

4 years ago

4.6.6

4 years ago

4.6.5

4 years ago

4.7.0-TSM-329.0

5 years ago

4.6.1

5 years ago

4.6.1-TSM-311.0

5 years ago

4.6.0

5 years ago

4.6.0-TSM-301.1

5 years ago

4.6.0-TSM-301.0

5 years ago

4.5.1

5 years ago

4.5.0

5 years ago

4.5.0-TSM-295.0

5 years ago

4.4.0-TSM-295.0

5 years ago

4.4.0

5 years ago

4.3.0

5 years ago

4.2.0

5 years ago

4.2.0-TSM-291.2

5 years ago

4.1.1

5 years ago

4.2.0-TSM-275.0

5 years ago

4.2.0-TSM-291.1

5 years ago

4.1.0

5 years ago

4.0.2

5 years ago

4.1.0-TSM-269.2

5 years ago

4.1.0-TSM-269.1

5 years ago

4.1.0-TSM-269.0

5 years ago

4.0.2-alpha.0

5 years ago

4.0.1

5 years ago

4.0.1-TSM-259.1

5 years ago

4.0.1-TSM-259.0

5 years ago

4.0.0

5 years ago

4.0.0-TSM-254.0

5 years ago

3.6.0

5 years ago

3.5.0

5 years ago

3.5.0-TSM-191.4

5 years ago

3.5.0-TSM-207.0

5 years ago

3.5.0-TSM-191.3

5 years ago

3.5.0-TSM-191.2

5 years ago

3.5.0-TSM-191.1

5 years ago

3.5.0-TSM-191.0

5 years ago

3.4.0

5 years ago

3.4.0-TSM-192.0

5 years ago

3.3.0

5 years ago

3.3.0-TSM-197.1

5 years ago

3.2.0

5 years ago

3.1.0

5 years ago

3.0.0

5 years ago

1.3.2

5 years ago

1.3.1

5 years ago

1.3.0

6 years ago

1.2.0

6 years ago