1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3109],{98064:function(n,e,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/docs/packages/css/CONTRIBUTING",function(){return s(87958)}])},87958:function(n,e,s){"use strict";s.r(e);var c=s(52322),i=s(45392);function t(n){let e=Object.assign({h1:"h1",h2:"h2",p:"p",code:"code",pre:"pre"},(0,i.ah)(),n.components);return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(e.h1,{id:"contributing",children:"Contributing"}),"\n",(0,c.jsx)(e.h2,{id:"setup-local-dev-environment",children:"Setup local dev environment"}),"\n",(0,c.jsxs)(e.p,{children:["First we want to add a symlink to the local build.\nIn the following example we use the examples app ",(0,c.jsx)(e.code,{children:"nextjs-css"})]}),"\n",(0,c.jsx)(e.pre,{children:(0,c.jsx)(e.code,{className:"language-bash",children:"mkdir -p examples/nextjs-css/public/pkg\ncd examples/nextjs-css/public/pkg\nln -s ../../../../packages/css/dist/css css\n"})}),"\n",(0,c.jsx)(e.p,{children:"Now that we have a symlink which we can point to when mapping over the links with the base property."}),"\n",(0,c.jsxs)(e.p,{children:["In ",(0,c.jsx)(e.code,{children:"_document.tsx"}),":"]}),"\n",(0,c.jsx)(e.pre,{children:(0,c.jsx)(e.code,{className:"language-jsx",children:"{\n links({ base: '/pkg/' }).map((link) => <link key={link.href} {...link} />);\n}\n"})})]})}e.default=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:e}=Object.assign({},(0,i.ah)(),n.components);return e?(0,c.jsx)(e,Object.assign({},n,{children:(0,c.jsx)(t,n)})):t(n)}}},function(n){n.O(0,[9774,2888,179],function(){return n(n.s=98064)}),_N_E=n.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.