1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[7470],{5089:function(n,s,e){e.r(s),e.d(s,{default:function(){return l}});var a=e(2540),c=e(9710);function t(n){const s={a:"a",code:"code",h2:"h2",p:"p",pre:"pre",span:"span",...(0,c.R)(),...n.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.p,{children:"ìì±ë ê° ì²í¬ì ìë¨ì ë°°ë를 ì¶ê°í©ëë¤."}),"\n",(0,a.jsx)(s.pre,{children:(0,a.jsxs)(s.code,{className:"hljs language-js",children:[(0,a.jsx)(s.span,{className:"token keyword",children:"import"})," webpack ",(0,a.jsx)(s.span,{className:"token keyword",children:"from"})," ",(0,a.jsx)(s.span,{className:"token string",children:'"webpack"'}),(0,a.jsx)(s.span,{className:"token punctuation",children:";"}),"\n\n",(0,a.jsx)(s.span,{className:"token keyword",children:"new"})," ",(0,a.jsxs)(s.span,{className:"token class-name",children:["webpack",(0,a.jsx)(s.span,{className:"token punctuation",children:"."}),"BannerPlugin"]}),(0,a.jsx)(s.span,{className:"token punctuation",children:"("}),"banner",(0,a.jsx)(s.span,{className:"token punctuation",children:")"}),(0,a.jsx)(s.span,{className:"token punctuation",children:";"}),"\n",(0,a.jsx)(s.span,{className:"token comment",children:"// ëë"}),"\n",(0,a.jsx)(s.span,{className:"token keyword",children:"new"})," ",(0,a.jsxs)(s.span,{className:"token class-name",children:["webpack",(0,a.jsx)(s.span,{className:"token punctuation",children:"."}),"BannerPlugin"]}),(0,a.jsx)(s.span,{className:"token punctuation",children:"("}),"options",(0,a.jsx)(s.span,{className:"token punctuation",children:")"}),(0,a.jsx)(s.span,{className:"token punctuation",children:";"})]})}),"\n",(0,a.jsxs)(s.h2,{children:[(0,a.jsx)(s.span,{id:"options"}),"Options",(0,a.jsx)(s.a,{href:"#options","aria-hidden":"true",tabIndex:"-1",children:(0,a.jsx)(s.span,{className:"header-link"})})]}),"\n",(0,a.jsx)(s.pre,{children:(0,a.jsxs)(s.code,{className:"hljs language-ts",children:[(0,a.jsx)(s.span,{className:"token punctuation",children:"{"}),"\n banner",(0,a.jsx)(s.span,{className:"token operator",children:":"})," ",(0,a.jsx)(s.span,{className:"token builtin",children:"string"})," ",(0,a.jsx)(s.span,{className:"token operator",children:"|"})," ",(0,a.jsx)(s.span,{className:"token keyword",children:"function"}),(0,a.jsx)(s.span,{className:"token punctuation",children:","})," ",(0,a.jsx)(s.span,{className:"token comment",children:"// ë°°ë를 문ìì´ ëë í¨ìë¡ ì¬ì©íë©´, 주ìì¼ë¡ ê°ì¸ì§ëë¤."}),"\n raw",(0,a.jsx)(s.span,{className:"token operator",children:":"})," ",(0,a.jsx)(s.span,{className:"token builtin",children:"boolean"}),(0,a.jsx)(s.span,{className:"token punctuation",children:","})," ",(0,a.jsx)(s.span,{className:"token comment",children:"// trueì´ë©´, ë°°ëê° ì£¼ìì ê°ì¸ì§ì§ ììµëë¤."}),"\n entryOnly",(0,a.jsx)(s.span,{className:"token operator",children:":"})," ",(0,a.jsx)(s.span,{className:"token builtin",children:"boolean"}),(0,a.jsx)(s.span,{className:"token punctuation",children:","})," ",(0,a.jsx)(s.span,{className:"token comment",children:"// trueì´ë©´, ë°°ëë ìí¸ë¦¬ ì²í¬ìë§ ì¶ê°ë©ëë¤."}),"\n test",(0,a.jsx)(s.span,{className:"token operator",children:":"})," ",(0,a.jsx)(s.span,{className:"token builtin",children:"string"})," ",(0,a.jsx)(s.span,{className:"token operator",children:"|"})," RegExp ",(0,a.jsx)(s.span,{className:"token operator",children:"|"})," ",(0,a.jsx)(s.span,{className:"token punctuation",children:"["}),(0,a.jsx)(s.span,{className:"token builtin",children:"string"}),(0,a.jsx)(s.span,{className:"token punctuation",children:","})," RegExp",(0,a.jsx)(s.span,{className:"token punctuation",children:"]"}),(0,a.jsx)(s.span,{className:"token punctuation",children:","})," ",(0,a.jsx)(s.span,{className:"token comment",children:"// í
ì¤í¸ë¥¼ íµê³¼íë 모ë 모ëì´ í¬í¨ë©ëë¤."}),"\n include",(0,a.jsx)(s.span,{className:"token operator",children:":"})," ",(0,a.jsx)(s.span,{className:"token builtin",children:"string"})," ",(0,a.jsx)(s.span,{className:"token operator",children:"|"})," RegExp ",(0,a.jsx)(s.span,{className:"token operator",children:"|"})," ",(0,a.jsx)(s.span,{className:"token punctuation",children:"["}),(0,a.jsx)(s.span,{className:"token builtin",children:"string"}),(0,a.jsx)(s.span,{className:"token punctuation",children:","})," RegExp",(0,a.jsx)(s.span,{className:"token punctuation",children:"]"}),(0,a.jsx)(s.span,{className:"token punctuation",children:","})," ",(0,a.jsx)(s.span,{className:"token comment",children:"// ë¤ì ì¡°ê±´ ì¤ íëë¼ë ì¼ì¹íë 모ë 모ëì´ í¬í¨ë©ëë¤."}),"\n exclude",(0,a.jsx)(s.span,{className:"token operator",children:":"})," ",(0,a.jsx)(s.span,{className:"token builtin",children:"string"})," ",(0,a.jsx)(s.span,{className:"token operator",children:"|"})," RegExp ",(0,a.jsx)(s.span,{className:"token operator",children:"|"})," ",(0,a.jsx)(s.span,{className:"token punctuation",children:"["}),(0,a.jsx)(s.span,{className:"token builtin",children:"string"}),(0,a.jsx)(s.span,{className:"token punctuation",children:","})," RegExp",(0,a.jsx)(s.span,{className:"token punctuation",children:"]"}),(0,a.jsx)(s.span,{className:"token punctuation",children:","})," ",(0,a.jsx)(s.span,{className:"token comment",children:"// ë¤ì ì¡°ê±´ ì¤ íëë¼ë ì¼ì¹íë 모ë 모ëì´ ì ì
1¸ë©ëë¤."}),"\n footer",(0,a.jsx)(s.span,{className:"token operator",children:"?"}),(0,a.jsx)(s.span,{className:"token operator",children:":"})," ",(0,a.jsx)(s.span,{className:"token builtin",children:"boolean"}),(0,a.jsx)(s.span,{className:"token punctuation",children:","})," ",(0,a.jsx)(s.span,{className:"token comment",children:"// trueì´ë©´, ë°°ëë ì»´íì¼ì´ ëë ë ë°°ì¹ë©ëë¤."}),"\n stage",(0,a.jsx)(s.span,{className:"token operator",children:"?"}),(0,a.jsx)(s.span,{className:"token operator",children:":"})," ",(0,a.jsx)(s.span,{className:"token builtin",children:"number"}),(0,a.jsx)(s.span,{className:"token punctuation",children:","})," ",(0,a.jsx)(s.span,{className:"token comment",children:"// ë°°ë를 주ì
í´ì¼ íë ì»´íì¼ ë¨ê³"}),"\n",(0,a.jsx)(s.span,{className:"token punctuation",children:"}"})]})}),"\n",(0,a.jsxs)(s.h2,{children:[(0,a.jsx)(s.span,{id:"usage"}),"Usage",(0,a.jsx)(s.a,{href:"#usage","aria-hidden":"true",tabIndex:"-1",children:(0,a.jsx)(s.span,{className:"header-link"})})]}),"\n",(0,a.jsx)(s.pre,{children:(0,a.jsxs)(s.code,{className:"hljs language-js",children:[(0,a.jsx)(s.span,{className:"token keyword",children:"import"})," webpack ",(0,a.jsx)(s.span,{className:"token keyword",children:"from"})," ",(0,a.jsx)(s.span,{className:"token string",children:'"webpack"'}),(0,a.jsx)(s.span,{className:"token punctuation",children:";"}),"\n\n",(0,a.jsx)(s.span,{className:"token comment",children:"// 문ìì´"}),"\n",(0,a.jsx)(s.span,{className:"token keyword",children:"new"})," ",(0,a.jsxs)(s.span,{className:"token class-name",children:["webpack",(0,a.jsx)(s.span,{className:"token punctuation",children:"."}),"BannerPlugin"]}),(0,a.jsx)(s.span,{className:"token punctuation",children:"("}),(0,a.jsx)(s.span,{className:"token punctuation",children:"{"}),"\n ",(0,a.jsx)(s.span,{className:"token literal-property property",children:"banner"}),(0,a.jsx)(s.span,{className:"token operator",children:":"})," ",(0,a.jsx)(s.span,{className:"token string",children:'"hello world"'}),(0,a.jsx)(s.span,{className:"token punctuation",children:","}),"\n",(0,a.jsx)(s.span,{className:"token punctuation",children:"}"}),(0,a.jsx)(s.span,{className:"token punctuation",children:")"}),(0,a.jsx)(s.span,{className:"token punctuation",children:";"}),"\n\n",(0,a.jsx)(s.span,{className:"token comment",children:"// í¨ì"}),"\n",(0,a.jsx)(s.span,{className:"token keyword",children:"new"})," ",(0,a.jsxs)(s.span,{className:"token class-name",children:["webpack",(0,a.jsx)(s.span,{className:"token punctuation",children:"."}),"BannerPlugin"]}),(0,a.jsx)(s.span,{className:"token punctuation",children:"("}),(0,a.jsx)(s.span,{className:"token punctuation",children:"{"}),"\n ",(0,a.jsx)(s.span,{className:"token function-variable function",children:"banner"}),(0,a.jsx)(s.span,{className:"token operator",children:":"})," ",(0,a.jsx)(s.span,{className:"token punctuation",children:"("}),(0,a.jsx)(s.span,{className:"token parameter",children:"yourVariable"}),(0,a.jsx)(s.span,{className:"token punctuation",children:")"})," ",(0,a.jsx)(s.span,{className:"token operator",children:"=>"})," ",(0,a.jsxs)(s.span,{className:"token template-string",children:[(0,a.jsx)(s.span,{className:"token template-punctuation string",children:"`"}),(0,a.jsx)(s.span,{className:"token string",children:"yourVariable: "}),(0,a.jsxs)(s.span,{className:"token interpolation",children:[(0,a.jsx)(s.span,{className:"token interpolation-punctuation punctuation",children:"${"}),"yourVariable",(0,a.jsx)(s.span,{className:"token interpolation-punctuation punctuation",children:"}"})]}),(0,a.jsx)(s.span,{className:"token template-punctuation string",children:"`"})]}),(0,a.jsx)(s.span,{className:"token punctuation",children:","}),"\n",(0,a.jsx)(s.span,{className:"token punctuation",children:"}"}),(0,a.jsx)(s.span,{className:"token punctuation",children:")"}),(0,a.jsx)(s.span,{className:"token punctuation",children:";"}),"\n\n",(0,a.jsx)(s.span,{className:"token comment",children:"// ìµìí ë° ì ì
ì¡°ì í ë°°ë ë©ìì§ë¥¼ ì¶ê°í©ëë¤."}),"\n",(0,a.jsx)(s.span,{className:"token keyword",children:"new"})," ",(0,a.jsxs)(s.span,{className:"token class-name",children:["webpack",(0,a.jsx)(s.span,{className:"token punctuation",children:"."}),"BannerPlugin"]}),(0,a.jsx)(s.span,{className:"token punctuation",children:"("}),(0,a.jsx)(s.span,{className:"token punctuation",children:"{"}),"\n ",(0,a.jsx)(s.span,{className:"token literal-property property",children:"raw"}),(0,a.jsx)(s.span,{className:"token operator",children:":"})," ",(0,a.jsx)(s.span,{className:"token boolean",children:"true"}),(0,a.jsx)(s.span,{className:"token punctuation",children:","}),"\n ",(0,a.jsx)(s.span,{className:"token literal-property property",children:"banner"}),(0,a.jsx)(s.span,{className:"token operator",children:":"})," ",(0,a.jsx)(s.span,{className:"token string",children:'"/* ë°°ëë 문ìì´ì
ëë¤ */"'}),(0,a.jsx)(s.span,{className:"token punctuation",children:","}),"\n ",(0,a.jsx)(s.span,{className:"token literal-property property",children:"stage"}),(0,a.jsx)(s.span,{className:"token operator",children:":"})," webpack",(0,a.jsx)(s.span,{className:"token punctuation",children:"."}),"Compilation",(0,a.jsx)(s.span,{className:"token punctuation",children:"."}),(0,a.jsx)(s.span,{className:"token constant",children:"PROCESS_ASSETS_STAGE_REPORT"}),(0,a.jsx)(s.span,{className:"token punctuation",children:","}),"\n",(0,a.jsx)(s.span,{className:"token punctuation",children:"}"}),(0,a.jsx)(s.span,{className:"token punctuation",children:")"}),(0,a.jsx)(s.span,{className:"token punctuation",children:";"})]})}),"\n",(0,a.jsxs)(s.h2,{children:[(0,a.jsx)(s.span,{id:"placeholders"}),"Placeholders",(0,a.jsx)(s.a,{href:"#placeholders","aria-hidden":"true",tabIndex:"-1",children:(0,a.jsx)(s.span,{className:"header-link"})})]}),"\n",(0,a.jsxs)(s.p,{children:["webpack 2.5.0 ë¶í°, placeholderë ",(0,a.jsx)(s.code,{children:"ë°°ë"})," 문ìì´ë¡ íê°ë©ëë¤."]}),"\n",(0,a.jsx)(s.pre,{children:(0,a.jsxs)(s.code,{className:"hljs language-js",children:[(0,a.jsx)(s.span,{className:"token keyword",children:"import"})," webpack ",(0,a.jsx)(s.span,{className:"token keyword",children:"from"})," ",(0,a.jsx)(s.span,{className:"token string",children:'"webpack"'}),(0,a.jsx)(s.span,{className:"token punctuation",children:";"}),"\n\n",(0,a.jsx)(s.span,{className:"token keyword",children:"new"})," ",(0,a.jsxs)(s.span,{className:"token class-name",children:["webpack",(0,a.jsx)(s.span,{className:"token punctuation",children:"."}),"BannerPlugin"]}),(0,a.jsx)(s.span,{className:"token punctuation",children:"("}),(0,a.jsx)(s.span,{className:"token punctuation",children:"{"}),"\n ",(0,a.jsx)(s.span,{className:"token literal-property property",children:"banner"}),(0,a.jsx)(s.span,{className:"token operator",children:":"}),"\n ",(0,a.jsx)(s.span,{className:"token string",children:'"fullhash:[fullhash], chunkhash:[chunkhash], name:[name], filebase:[filebase], query:[query], file:[file]"'}),(0,a.jsx)(s.span,{className:"token punctuation",children:","}),"\n",(0,a.jsx)(s.span,{className:"token punctuation",children:"}"}),(0,a.jsx)(s.span,{className:"token punctuation",children:")"}),(0,a.jsx)(s.span,{className:"token punctuation",children:";"})]})})]})}function l(n={}){const{wrapper:s}={...(0,c.R)(),...n.components};return s?(0,a.jsx)(s,{...n,children:(0,a.jsx)(t,{...n})}):t(n)}}}]);
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.