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.
Files changed (65) hide show
  1. package/README.md +4 -2
  2. package/dist/lilact.development.min.js +64 -0
  3. package/dist/lilact.development.min.js.LICENSE.txt +77 -0
  4. package/dist/lilact.development.min.js.map +1 -0
  5. package/dist/lilact.production.min.js +1 -1
  6. package/dist/lilact.production.min.js.map +1 -1
  7. package/docs/assets/navigation.js +1 -1
  8. package/docs/assets/search.js +1 -1
  9. package/docs/classes/accessories.ErrorBoundary.html +8 -8
  10. package/docs/classes/accessories.Suspense.html +7 -7
  11. package/docs/classes/components.Component.html +10 -10
  12. package/docs/classes/components.HTMLComponent.html +10 -10
  13. package/docs/classes/components.RootComponent.html +10 -10
  14. package/docs/functions/components.createComponent.html +1 -1
  15. package/docs/functions/components.createRoot.html +1 -1
  16. package/docs/functions/components.render.html +1 -1
  17. package/docs/functions/run.lazy.html +15 -0
  18. package/docs/functions/run.require.html +11 -11
  19. package/docs/functions/run.run.html +3 -5
  20. package/docs/functions/run.runScripts.html +1 -1
  21. package/docs/functions/run.traceError.html +1 -1
  22. package/docs/index.html +3 -2
  23. package/docs/modules/run.html +1 -1
  24. package/docs/static/demos/actionstate.jsx +1 -1
  25. package/docs/static/demos/context.jsx +1 -1
  26. package/docs/static/demos/css-transition.jsx +1 -1
  27. package/docs/static/demos/lazy.jsx +16 -0
  28. package/docs/static/demos/modal.jsx +1 -1
  29. package/docs/static/demos/proptypes.jsx +1 -1
  30. package/docs/static/demos/reducer.jsx +1 -1
  31. package/docs/static/demos/redux.jsx +1 -1
  32. package/docs/static/demos/router.jsx +1 -8
  33. package/docs/static/demos/stopwatch.jsx +1 -1
  34. package/docs/static/demos/suspense.jsx +1 -1
  35. package/{root/demos/use-differed.jsx → docs/static/demos/use-deffered.jsx} +1 -1
  36. package/docs/static/demos/usetransition.jsx +1 -1
  37. package/docs/static/index 2.html +95 -0
  38. package/docs/static/index.html +27 -29
  39. package/docs/static/lilact.development.min.js +64 -0
  40. package/docs/static/lilact.production.min.js +1 -1
  41. package/package.json +1 -2
  42. package/root/demos/actionstate.jsx +1 -1
  43. package/root/demos/context.jsx +1 -1
  44. package/root/demos/css-transition.jsx +1 -1
  45. package/root/demos/lazy.jsx +16 -0
  46. package/root/demos/modal.jsx +1 -1
  47. package/root/demos/proptypes.jsx +1 -1
  48. package/root/demos/reducer.jsx +1 -1
  49. package/root/demos/redux.jsx +1 -1
  50. package/root/demos/router.jsx +1 -8
  51. package/root/demos/stopwatch.jsx +1 -1
  52. package/root/demos/suspense.jsx +1 -1
  53. package/{docs/static/demos/use-differed.jsx → root/demos/use-deffered.jsx} +1 -1
  54. package/root/demos/usetransition.jsx +1 -1
  55. package/root/index 2.html +95 -0
  56. package/root/index.html +27 -29
  57. package/root/lilact.development.min.js +64 -0
  58. package/root/lilact.production.min.js +1 -1
  59. package/src/components.jsx +2 -1
  60. package/src/run.jsx +105 -43
  61. package/webpack.config.js +3 -13
  62. package/dist/lilact.development.js +0 -9344
  63. package/dist/lilact.development.js.map +0 -1
  64. package/docs/static/lilact.development.js +0 -9344
  65. 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