File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
typescript/vanilla_webpack Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 8383 " scripts" : {
8484 " build" : " webpack build" ,
8585 " serve" : " webpack serve"
86- ...
86+ }
8787 ` ` `
8888
89-
90898. Build and run basic example without any BokehJS
9190
9291 ` ` ` bash
108107
109108 ` ` ` json
110109 " compilerOptions" : {
111- ...
112110 " paths" : {
113111 " @bokehjs/*" : [" ./node_modules/@bokeh/bokehjs/build/js/lib/*" ]
114112 }
115- ...
116113 }
117114 ` ` `
118115
11911611. ` webpack.config.ts` needs workaround to resolve ` @bokehjs` alias also, added to the top-level of the ` config` :
120117
121118 ` ` ` typescript
122119 const config: webpack.Configuration = {
123- ...
124120 resolve: {
125121 alias: {
126122 " @bokehjs" : path.resolve(__dirname, " node_modules/@bokeh/bokehjs/build/js/lib/" )
127123 }
128124 },
129- ...
125+ }
130126 ` ` ` `
131127
13212812. Remove contents of ` src/index.ts` and replace with code to create BokehJS plot:
You can’t perform that action at this time.
0 commit comments