Skip to content

Bucklescript - #1

Open
denis-ok wants to merge 91 commits into
mainfrom
reason
Open

Bucklescript#1
denis-ok wants to merge 91 commits into
mainfrom
reason

Conversation

@denis-ok

@denis-ok denis-ok commented Aug 4, 2022

Copy link
Copy Markdown
Owner

No description provided.

* main:
  Fix tests
  Emit js with mjs extension
  Format
  Move all code to JsArtifact module
  Add a separate type for ReasonArtifact data prop
  Add ReasonArtifact sub module
  Handle case when wrapper is without data
  Add a separate logic to process js artifact
  Support templates for pages with data and wrappers
  Add initial boilerplate to emit js files
  Pass pageAppArtifact param
* main:
  Code style for melange
* main:
  Handle entry path in case of JS files emit
* main:
  Slightly reduce watcher debounce delay
  Slightly increase server KeepAliveTimeout
  Reduce delay before starting dev server in case of js artifacts
* main:
  Replace concatMany with flat1
  Remove dependency-tree dep
  Rename module to FileWatcher
  Get dependencies and then syncronously map array
  Add comment, code style
  Update logging
  Rearrange code, improve namings
  Use a single keepMap
  Switch to Esbuild.getModuleDependencies
  Track page paths in set
  Track pageModulePaths in Set
  Replace multiple concats with array push to build array with all dependency paths
  Avoid one more pages array loop
  Use array push to speed up watcher initialization
  Group two dict populations in the one pages loop
  Add comments/improve namings in Watcher module
  Add getModuleDependencies func
* main:
  Increase file watcher debounce delay
* main:
  Reduce debounce timeout to 1000
  Add esbuild logLimit param
  Remove dependency tree bindings
  Add exitOnError param to Esbuild.getModuleDependencies
* main:
  Write node loader fully in reason
  Replace get with default in some places
  Imports from node
  Update webpack-bundle-analyzer
  Update esbuild and esbuild-loader
  Remove terser-webpack-plugin from package.json
  Remove support for swc minimizer
  Make webpack params optional
  Update hash-wasm
  Make compileCommand optional
  Rename param to pageAppArtifactsSuffix
  Rename type to pageAppArtifactType
  Fix minimizer field name
  Reorder params
  Reorder params
  Add webpack prefix to params
* main:
  Fix workers
* main:
  Commands.build returns promise
* main:
  Add additional pages chunk splitting
* main:
  Use performance.now instead of console.time
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant