File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -162,6 +162,23 @@ npm run schema
162
162
163
163
** IMPORTANT:** please do not change and commit any files in the "dist" folder
164
164
165
+ #### Step 9: REGL - Review & commit potential changes to precompiled regl shaders
166
+
167
+ If you are implementing a new feature that involves regl shaders, or if you are
168
+ making changes that affect the usage of regl shaders, you would need to run
169
+
170
+ ``` bash
171
+ npm run regl-codegen
172
+ ```
173
+
174
+ to regenerate the regl code. This opens a browser window, runs through all
175
+ traces with 'regl' in the tags, and stores the captured code into
176
+ src/generated/regl-codegen. If no updates are necessary, it would be a no-op, but
177
+ if there are changes, you would need to commit them.
178
+
179
+ This is needed because regl performs codegen in runtime which breaks CSP
180
+ compliance, and so for strict builds we pre-compile regl codegen now.
181
+
165
182
#### Other npm scripts that may be of interest in development
166
183
167
184
- ` npm run preprocess ` : pre-processes the css and svg source file in js. This
You can’t perform that action at this time.
0 commit comments