eirslett / frontend-maven-plugin

"Maven-node-grunt-gulp-npm-node-plugin to end all maven-node-grunt-gulp-npm-plugins." A Maven plugin that downloads/installs Node and NPM locally, runs NPM install, Grunt, Gulp and/or Karma.
Apache License 2.0
4.24k stars 871 forks source link

【feature request】Hope to support Vite #1028

Closed Hccake closed 2 years ago

Hccake commented 2 years ago
Could not find goal 'vite' in plugin com.github.eirslett:frontend-maven-plugin:1.12.1
among available goals bower, ember, grunt, gulp, install-node-and-npm,
 install-node-and-pnpm, install-node-and-yarn, jspm, karma, npm, npx, pnpm, webpack, yarn
Hccake commented 2 years ago

the npx goal can solve the problem

<execution>
      <id>vite build</id>
      <goals>
          <goal>npx</goal>
      </goals>
      <configuration>
          <arguments>vite build</arguments>
      </configuration>
</execution>