woodstok-next-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.4.3 • Public • Published

Woodstok-next-plugin

Para que o pacote woodstok funcione em um projeto Nextjs é necessário que façamos algumas configurações no webpack para que seja possível utilizar os ícones e fontes.

1. Pré-requisitos

2. Como instalar

# with pnpm
pnpm install woodstok-next-plugin

# with yarn
yarn add woodstok-next-plugin

# with npm
npm install woodstok-next-plugin

Para utilizar esse pacote é necessário fazer a seguinte configuração no arquivo next.config.js:

const { withWoodstok } = require('woodstok-next-plugin');

/** @type {import('next').NextConfig} */
const nextConfig = {
  reactStrictMode: true,
  swcMinify: true,
};

module.exports = withWoodstok(nextConfig);

Readme

Keywords

none

Package Sidebar

Install

npm i woodstok-next-plugin

Weekly Downloads

48

Version

0.4.3

License

ISC

Unpacked Size

4.96 kB

Total Files

7

Last publish

Collaborators

  • tks-npm-owner