Coder Social home page Coder Social logo

gilbarbara / git-rev-webpack-plugin Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 350 KB

Webpack plugin to use git branch, hash and tag as substitutions for file names

License: MIT License

JavaScript 4.42% TypeScript 27.05% Shell 66.57% HTML 1.74% CSS 0.23%

git-rev-webpack-plugin's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

git-rev-webpack-plugin's Issues

When there is no tag in the branch, getting warning like `project is not under git`

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.