Skip to content

Commit 0d5a236

Browse files
authored
Fix typo (#900)
1 parent 9f3e5ea commit 0d5a236

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/esmodules.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ import { nodeResolve } from "@rollup/plugin-node-resolve";
1212

1313
const extensions = [".ts", ".js"];
1414

15-
const preventThreeShakingPlugin = () => {
15+
const preventTreeShakingPlugin = () => {
1616
return {
17-
name: 'no-threeshaking',
17+
name: 'no-treeshaking',
1818
resolveId(id, importer) {
1919
if (!importer) {
2020
// let's not theeshake entry points, as we're not exporting anything in Apps Script files
@@ -32,7 +32,7 @@ export default {
3232
format: "esm",
3333
},
3434
plugins: [
35-
preventThreeShakingPlugin(),
35+
preventTreeShakingPlugin(),
3636
nodeResolve({
3737
extensions,
3838
}),
@@ -78,4 +78,4 @@ node_modules/**
7878

7979
Now you can push using your normal `clasp push`-command!
8080

81-
This should be enough to start developing a project using ES Modules. A complete example repo can be cloned from [atti187/esmodules](https://github.com/atti187/esmodules).
81+
This should be enough to start developing a project using ES Modules. A complete example repo can be cloned from [atti187/esmodules](https://github.com/atti187/esmodules).

0 commit comments

Comments
 (0)