@madgex/design-system 12.0.2 → 13.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +44 -1
- package/dist/css/index.css +1 -1
- package/dist/js/components/mds-dropdown-nav.js +1 -1
- package/dist/js/dropdown-nav-DsMcgeGj.js +1 -0
- package/dist/js/index-fractal.js +1 -1
- package/dist/js/index.js +1 -2
- package/package.json +11 -45
- package/src/components/dropdown-nav/dropdown-nav-entry.js +7 -0
- package/src/components/dropdown-nav/dropdown-nav.js +0 -4
- package/src/components/modal/modal.js +1 -1
- package/src/components/tabs/tabs.js +1 -1
- package/src/js/index.js +5 -11
- package/dist/js/index.js.LICENSE.txt +0 -6
- package/src/js/index-polyfills.js +0 -6
- package/src/js/polyfills/arrayPrototypeFind.js +0 -49
- package/src/js/polyfills/closest.js +0 -17
- package/src/js/polyfills/objectAssign.js +0 -33
- package/src/js/polyfills/remove.js +0 -7
- package/src/js/webpack-public-path.js +0 -3
- package/tasks/css.js +0 -90
- package/tasks/js-bundle.js +0 -50
- package/tasks/js-fractal-bundle.js +0 -49
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
const path = require('path');
|
|
2
|
-
const webpack = require('webpack');
|
|
3
|
-
|
|
4
|
-
async function runWebpack() {
|
|
5
|
-
return new Promise((resolve, reject) => {
|
|
6
|
-
webpack(
|
|
7
|
-
{
|
|
8
|
-
entry: [path.resolve(__dirname, '../src/js/index-fractal.js')],
|
|
9
|
-
output: {
|
|
10
|
-
filename: 'index-fractal.js',
|
|
11
|
-
path: path.resolve(__dirname, '../dist/js'),
|
|
12
|
-
},
|
|
13
|
-
module: {
|
|
14
|
-
rules: [
|
|
15
|
-
{
|
|
16
|
-
test: /\.js$/,
|
|
17
|
-
exclude: /node_modules/,
|
|
18
|
-
loader: 'babel-loader',
|
|
19
|
-
},
|
|
20
|
-
],
|
|
21
|
-
},
|
|
22
|
-
plugins: [new webpack.EnvironmentPlugin({ NODE_ENV: 'production' })],
|
|
23
|
-
},
|
|
24
|
-
(err, stats) => {
|
|
25
|
-
const info = stats.toJson();
|
|
26
|
-
|
|
27
|
-
if (err || stats.hasErrors()) {
|
|
28
|
-
if (err) {
|
|
29
|
-
console.error(err);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
if (stats.hasErrors()) {
|
|
33
|
-
console.error(info.errors);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
reject(err);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
resolve('Webpack has compiled');
|
|
40
|
-
}
|
|
41
|
-
);
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
async function jsFractalbundle() {
|
|
46
|
-
await runWebpack();
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
exports.jsFractalbundle = jsFractalbundle;
|