lilact 0.14.2 → 0.15.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/dist/lilact.development.js +326 -221
- package/dist/lilact.development.js.map +1 -1
- package/dist/lilact.development.min.js +1 -1
- package/dist/lilact.development.min.js.LICENSE.txt +6 -0
- package/dist/lilact.development.min.js.map +1 -1
- package/dist/lilact.production.min.js +1 -1
- package/dist/lilact.production.min.js.map +1 -1
- package/docs/classes/accessories.ErrorBoundary.html +11 -11
- package/docs/classes/accessories.Suspense.html +10 -10
- package/docs/classes/components.Component.html +11 -11
- package/docs/classes/components.HTMLComponent.html +11 -11
- package/docs/classes/components.RootComponent.html +11 -11
- package/docs/functions/accessories.DragHandle.html +1 -1
- package/docs/functions/accessories.Spinner.html +1 -1
- 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/hooks.createContext.html +1 -1
- package/docs/functions/hooks.useActionState.html +1 -1
- package/docs/functions/hooks.useCallback.html +1 -1
- package/docs/functions/hooks.useContext.html +1 -1
- package/docs/functions/hooks.useDeferredValue.html +1 -1
- package/docs/functions/hooks.useEffect.html +1 -1
- package/docs/functions/hooks.useHook.html +1 -1
- package/docs/functions/hooks.useId.html +1 -1
- package/docs/functions/hooks.useImperativeHandle.html +1 -1
- package/docs/functions/hooks.useLayoutEffect.html +1 -1
- package/docs/functions/hooks.useLocalStorage.html +1 -1
- package/docs/functions/hooks.useMemo.html +1 -1
- package/docs/functions/hooks.useReducer.html +1 -1
- package/docs/functions/hooks.useRef.html +1 -1
- package/docs/functions/hooks.useState.html +1 -1
- package/docs/functions/hooks.useTransition.html +1 -1
- package/docs/functions/redux.Provider.html +1 -1
- package/docs/functions/redux.combineReducers.html +1 -1
- package/docs/functions/redux.connect.html +1 -1
- package/docs/functions/redux.useDispatch.html +1 -1
- package/docs/functions/redux.useSelector.html +1 -1
- package/docs/functions/redux.useStore.html +1 -1
- package/docs/functions/run.lazy.html +1 -1
- package/docs/functions/run.require.html +3 -3
- package/docs/functions/run.run.html +1 -1
- package/docs/functions/run.runScripts.html +3 -3
- package/docs/functions/timers.timeoutPromise.html +133 -2
- package/docs/static/lilact.development.js +326 -221
- package/docs/static/lilact.development.min.js +1 -1
- package/docs/static/lilact.production.min.js +1 -1
- package/docs/variables/accessories.SplitPane.html +1 -1
- package/package.json +1 -1
- package/root/lilact.development.js +326 -221
- package/root/lilact.development.min.js +1 -1
- package/root/lilact.production.min.js +1 -1
- package/src/accessories.jsx +14 -17
- package/src/components.jsx +6 -7
- package/src/hooks.jsx +25 -24
- package/src/lilact.jsx +8 -8
- package/src/loader.cjs +1 -1
- package/src/misc.jsx +1 -4
- package/src/redux.jsx +13 -11
- package/src/router.jsx +1 -1
- package/src/run.jsx +19 -16
- package/src/symbols.jsx +64 -0
- package/src/timers.jsx +6 -6
- package/src/transition.jsx +4 -4
- package/webpack.config.js +7 -3
package/webpack.config.js
CHANGED
|
@@ -34,8 +34,7 @@ import { fileURLToPath } from 'url';
|
|
|
34
34
|
import { dirname, resolve } from 'path';
|
|
35
35
|
|
|
36
36
|
import fs from 'fs';
|
|
37
|
-
import 'webpack';
|
|
38
|
-
|
|
37
|
+
import webpack from 'webpack';
|
|
39
38
|
|
|
40
39
|
|
|
41
40
|
export default (env, argv) => {
|
|
@@ -118,7 +117,12 @@ export default (env, argv) => {
|
|
|
118
117
|
}
|
|
119
118
|
]
|
|
120
119
|
},
|
|
121
|
-
plugins: [
|
|
120
|
+
plugins: [
|
|
121
|
+
new webpack.DefinePlugin({
|
|
122
|
+
"DEBUG": mode==='development'
|
|
123
|
+
}),
|
|
124
|
+
|
|
125
|
+
{
|
|
122
126
|
apply: (compiler) => {
|
|
123
127
|
compiler.hooks.done.tap('license-plugin', (compilation) => {
|
|
124
128
|
fs.readFile('./dist/' + filename, 'utf8', function(err, jssc) {
|