snowpack-plugin-raw

    1.0.0 • Public • Published

    snowpack-plugin-raw

    Resolves file import to raw string.

    npm install --save-dev snowpack-plugin-raw
    // snowpack.config.json
    {
      "plugins": [
        ["snowpack-plugin-raw", { extensions: [".txt", ".md"] }]
      ]
    }

    Plugin Options

    • extensions: File extensions.
    • encoding: File encoding, default utf-8.

    Install

    npm i snowpack-plugin-raw

    DownloadsWeekly Downloads

    77

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    2.7 kB

    Total Files

    4

    Last publish

    Collaborators

    • cbdyzj