script-loader icon indicating copy to clipboard operation
script-loader copied to clipboard

Update version after code change

Open sergeik opened this issue 6 years ago • 6 comments

@aymasse @evilebottnawi I think it is great idea to update version in package.json and publish updated NPM as well.

sergeik avatar Apr 10 '19 18:04 sergeik

Ping me tomorrow and we will do this, thanks

alexander-akait avatar Apr 10 '19 18:04 alexander-akait

@evilebottnawi

Ping me tomorrow and we will do this, thanks

Just a friendly reminder...

sergeik avatar Apr 11 '19 14:04 sergeik

Sorry for delay, WIP

alexander-akait avatar Apr 23 '19 10:04 alexander-akait

@sergeik after investigate we think deprecated this loader in favor raw-loader, i can provide example in raw-loader repo

alexander-akait avatar Apr 23 '19 10:04 alexander-akait

@evilebottnawi another words we can "executes JS script once in global context." without script-loader? Can you share link to example please.

sergeik avatar Apr 23 '19 22:04 sergeik

@sergeik yes, loader logic is very simple:

  1. raw-loader return content of script
  2. we do eval on content of this file (https://github.com/webpack-contrib/script-loader/blob/master/addScript.js)

alexander-akait avatar Apr 24 '19 10:04 alexander-akait