gilbarbara / git-rev-webpack-plugin Goto Github PK
View Code? Open in Web Editor NEWWebpack plugin to use git branch, hash and tag as substitutions for file names
License: MIT License
Webpack plugin to use git branch, hash and tag as substitutions for file names
License: MIT License
Creating an optimized production build...
fatal: No names found, cannot describe anything.
Error: Command failed: git describe --abbrev=0 --tags
fatal: No names found, cannot describe anything.
at checkExecSyncError (child_process.js:621:11)
at Object.execSync (child_process.js:657:15)
at Object.runGit (C:\Users\user\Desktop\myproj\node_modules\git-rev-webpack-plugin\lib\utils.js:12:38)
at GitRevPlugin.apply (C:\Users\user\Desktop\myproj\node_modules\git-rev-webpack-plugin\lib\index.js:16:30)
at webpack (C:\Users\user\Desktop\myproj\node_modules\webpack\lib\webpack.js:51:13)
at build (C:\Users\user\Desktop\myproj\tools\build.js:59:20)
at C:\Users\user\Desktop\myproj\tools\build.js:123:12 {
status: 128,
signal: null,
output: [
null,
<Buffer >,
<Buffer 66 61 74 61 6c 3a 20 4e 6f 20 6e 61 6d 65 73 20 66 6f 75 6e 64 2c 20 63 61 6e 6e 6f 74 20 64 65 73 63 72 69 62 65 20 61 6e 79 74 68 69 6e 67 2e 0a>
],
pid: 5296,
stdout: <Buffer >,
stderr: <Buffer 66 61 74 61 6c 3a 20 4e 6f 20 6e 61 6d 65 73 20 66 6f 75 6e 64 2c 20 63 61 6e 6e 6f 74 20 64 65 73 63 72 69 62 65 20 61 6e 79 74 68 69 6e 67 2e 0a>
}
GitRevPlugin: project is not under git
mainTemplate is no longer valid, use instead
compilation.hooks.assetPath.tap('GitRevPlugin', (path, data) => {{
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.