@@ -107,27 +107,27 @@ Files matched by `skip` or `copy` cannot be `require`d. Requiring a skipped file
107107
108108Loaders available for use in the ` loaders ` field:
109109
110- | Loader | What it does |
111- | --- | --- |
112- | ` luau ` | Parses and processes the file as Lua/Luau code. |
113- | ` copy ` | Copies the file to the output unchanged. |
114- | ` skip ` | Ignores the file. |
115- | ` string ` | Returns the content as a string. |
116- | ` string/base64 ` | Returns the content as a base64-encoded string. |
117- | ` buffer ` | Returns the content as a buffer. |
118- | ` buffer/base64 ` | Returns the content as a base64-encoded buffer. |
119- | ` bytes ` | Returns the content as an array of bytes. |
120- | ` bytes/base64 ` | Returns the content, base64-encoded, as an array of bytes. |
121- | ` json ` | Converts JSON data to a Lua module. |
122- | ` toml ` | Converts TOML data to a Lua module. |
123- | ` yaml ` | Converts YAML data to a Lua module. |
110+ | Loader | What it does |
111+ | --------------- | ------------------------------------------------------- --- |
112+ | ` luau ` | Parses and processes the file as Lua/Luau code. |
113+ | ` copy ` | Copies the file to the output unchanged. |
114+ | ` skip ` | Ignores the file. |
115+ | ` string ` | Returns the content as a string. |
116+ | ` string/base64 ` | Returns the content as a base64-encoded string. |
117+ | ` buffer ` | Returns the content as a buffer. |
118+ | ` buffer/base64 ` | Returns the content as a base64-encoded buffer. |
119+ | ` bytes ` | Returns the content as an array of bytes. |
120+ | ` bytes/base64 ` | Returns the content, base64-encoded, as an array of bytes. |
121+ | ` json ` | Converts JSON data to a Lua module. |
122+ | ` toml ` | Converts TOML data to a Lua module. |
123+ | ` yaml ` | Converts YAML data to a Lua module. |
124124
125125Default loaders assigned by file extension when no pattern matches. Anything not listed here is skipped unless you assign a loader to it.
126126
127- | Extension | Loader |
128- | --- | --- |
129- | ` .lua ` , ` .luau ` | ` luau ` |
130- | ` .json ` , ` .json5 ` | ` json ` |
131- | ` .toml ` | ` toml ` |
132- | ` .yaml ` , ` .yml ` | ` yaml ` |
133- | ` .txt ` | ` string ` |
127+ | Extension | Loader |
128+ | ----------------- | ----- --- |
129+ | ` .lua ` , ` .luau ` | ` luau ` |
130+ | ` .json ` , ` .json5 ` | ` json ` |
131+ | ` .toml ` | ` toml ` |
132+ | ` .yaml ` , ` .yml ` | ` yaml ` |
133+ | ` .txt ` | ` string ` |
0 commit comments