lilact 0.0.0 → 0.1.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 +4 -2
- package/dist/lilact.development.min.js +64 -0
- package/dist/lilact.development.min.js.LICENSE.txt +77 -0
- package/dist/lilact.development.min.js.map +1 -0
- package/dist/lilact.production.min.js +1 -1
- package/dist/lilact.production.min.js.map +1 -1
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/accessories.ErrorBoundary.html +8 -8
- package/docs/classes/accessories.Suspense.html +7 -7
- package/docs/classes/components.Component.html +10 -10
- package/docs/classes/components.HTMLComponent.html +10 -10
- package/docs/classes/components.RootComponent.html +10 -10
- package/docs/functions/components.createComponent.html +1 -1
- package/docs/functions/components.createRoot.html +1 -1
- package/docs/functions/components.render.html +1 -1
- package/docs/functions/run.lazy.html +15 -0
- package/docs/functions/run.require.html +11 -11
- package/docs/functions/run.run.html +3 -5
- package/docs/functions/run.runScripts.html +1 -1
- package/docs/functions/run.traceError.html +1 -1
- package/docs/index.html +3 -2
- package/docs/modules/run.html +1 -1
- package/docs/static/demos/actionstate.jsx +1 -1
- package/docs/static/demos/context.jsx +1 -1
- package/docs/static/demos/css-transition.jsx +1 -1
- package/docs/static/demos/lazy.jsx +16 -0
- package/docs/static/demos/modal.jsx +1 -1
- package/docs/static/demos/proptypes.jsx +1 -1
- package/docs/static/demos/reducer.jsx +1 -1
- package/docs/static/demos/redux.jsx +1 -1
- package/docs/static/demos/router.jsx +1 -8
- package/docs/static/demos/stopwatch.jsx +1 -1
- package/docs/static/demos/suspense.jsx +1 -1
- package/{root/demos/use-differed.jsx → docs/static/demos/use-deffered.jsx} +1 -1
- package/docs/static/demos/usetransition.jsx +1 -1
- package/docs/static/index 2.html +95 -0
- package/docs/static/index.html +27 -29
- package/docs/static/lilact.development.min.js +64 -0
- package/docs/static/lilact.production.min.js +1 -1
- package/package.json +1 -2
- package/root/demos/actionstate.jsx +1 -1
- package/root/demos/context.jsx +1 -1
- package/root/demos/css-transition.jsx +1 -1
- package/root/demos/lazy.jsx +16 -0
- package/root/demos/modal.jsx +1 -1
- package/root/demos/proptypes.jsx +1 -1
- package/root/demos/reducer.jsx +1 -1
- package/root/demos/redux.jsx +1 -1
- package/root/demos/router.jsx +1 -8
- package/root/demos/stopwatch.jsx +1 -1
- package/root/demos/suspense.jsx +1 -1
- package/{docs/static/demos/use-differed.jsx → root/demos/use-deffered.jsx} +1 -1
- package/root/demos/usetransition.jsx +1 -1
- package/root/index 2.html +95 -0
- package/root/index.html +27 -29
- package/root/lilact.development.min.js +64 -0
- package/root/lilact.production.min.js +1 -1
- package/src/components.jsx +2 -1
- package/src/run.jsx +105 -43
- package/webpack.config.js +3 -13
- package/dist/lilact.development.js +0 -9344
- package/dist/lilact.development.js.map +0 -1
- package/docs/static/lilact.development.js +0 -9344
- package/root/lilact.development.js +0 -9344
package/webpack.config.js
CHANGED
|
@@ -45,7 +45,8 @@ export default (env, argv) => {
|
|
|
45
45
|
const __filename = fileURLToPath(import.meta.url);
|
|
46
46
|
const __dirname = dirname(__filename);
|
|
47
47
|
|
|
48
|
-
const filename = `lilact.${mode}${mode==="development"?"":".min"}.js`;
|
|
48
|
+
//const filename = `lilact.${mode}${mode==="development"?"":".min"}.js`;
|
|
49
|
+
const filename = `lilact.${mode}.min.js`;
|
|
49
50
|
|
|
50
51
|
return {
|
|
51
52
|
entry: './src/lilact.jsx',
|
|
@@ -54,19 +55,8 @@ export default (env, argv) => {
|
|
|
54
55
|
|
|
55
56
|
optimization: {
|
|
56
57
|
concatenateModules: true, // scope hoisting
|
|
57
|
-
// runtimeChunk: 'single', // centralize runtime helpers
|
|
58
|
-
// splitChunks: {
|
|
59
|
-
// chunks: 'all',
|
|
60
|
-
// cacheGroups: {
|
|
61
|
-
// vendors: {
|
|
62
|
-
// test: /[\\/]node_modules[\\/]/,
|
|
63
|
-
// name: 'vendors',
|
|
64
|
-
// chunks: 'all',
|
|
65
|
-
// },
|
|
66
|
-
// },
|
|
67
|
-
// },
|
|
68
58
|
moduleIds: 'deterministic', // smaller stable ids (or 'hashed')
|
|
69
|
-
minimize: mode === 'production',
|
|
59
|
+
minimize: true, //mode === 'production',
|
|
70
60
|
},
|
|
71
61
|
experiments: {
|
|
72
62
|
outputModule: true // enable module output
|