Skip to content

v0.7.1 - Choose your JS format per file

Latest
Compare
Choose a tag to compare
@stevygee stevygee released this 29 Mar 12:51

Changes:

  • ESModules are now optional, you can opt-in per file group:
	"scripts": {
		"files": [
			{
				"sourceFolder": "./example/src/js/",
				"sourceFiles": ["entry1.js", "entry2.js"],
				"destinationFolder": "./js",
				"outputName": "[name].js",
				"format": "esm"
			}
		],
		"chunkNames": "./js/[name]-[hash]",
		"cleanFiles": ["./js/*.{js,map}"]
	},
  • Copy task watches for file changes
  • Updated example