Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

Commit 24b43e3

Browse files
committed
chore: add comments
1 parent 260cbad commit 24b43e3

File tree

7 files changed

+11
-7
lines changed

7 files changed

+11
-7
lines changed

lib/clL2D.0.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/clL2D.0.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/clL2D.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/clL2D.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/stats.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ import config from './lib/configManager.js';
1717
*/
1818

1919
export function init(userConfig){
20+
if (process.env.NODE_ENV === 'development') {
21+
console.log('Hey that, you are now in DEV.');
22+
}
2023
try{
2124
config.checkConfig(userConfig);
2225
}catch(err){

webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ module.exports = env => {return{
1414

1515
output: {
1616
filename: 'clL2D.min.js',
17+
// YOU MUST INSTALL babel-plugin-syntax-dynamic-import FIRST TO ENABLE CODE SPLITTING!
1718
chunkFilename: 'clL2D.[id].min.js',
1819
library: 'initL2Dwidget',
1920
libraryExport: 'init',

0 commit comments

Comments
 (0)