{"id":15992646,"url":"https://github.com/pmlopes/webpack-vertx-plugin","last_synced_at":"2026-06-11T18:31:44.103Z","repository":{"id":57397501,"uuid":"97944687","full_name":"pmlopes/webpack-vertx-plugin","owner":"pmlopes","description":null,"archived":false,"fork":false,"pushed_at":"2018-02-12T09:50:53.000Z","size":189,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-14T10:56:21.473Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pmlopes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-21T12:19:00.000Z","updated_at":"2018-04-06T12:39:56.000Z","dependencies_parsed_at":"2022-09-12T20:51:26.855Z","dependency_job_id":null,"html_url":"https://github.com/pmlopes/webpack-vertx-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmlopes%2Fwebpack-vertx-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmlopes%2Fwebpack-vertx-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmlopes%2Fwebpack-vertx-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmlopes%2Fwebpack-vertx-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pmlopes","download_url":"https://codeload.github.com/pmlopes/webpack-vertx-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240712730,"owners_count":19845530,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-08T06:40:26.879Z","updated_at":"2026-06-11T18:31:44.096Z","avatar_url":"https://github.com/pmlopes.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm version](https://badge.fury.io/js/webpack-vertx-plugin.svg)](https://badge.fury.io/js/webpack-vertx-plugin)\n[![npm](https://img.shields.io/npm/dm/webpack-vertx-plugin.svg)]()\n\n# Webpack Vertx Plugin\n\nThis plugin allows you to extract nashorn modules to your node_modules work directory and on compilation success package\nyour application as a runnable jar.\n \n## WARNING\n\nThis plugin expects that your already have Apache Maven installed in your system since will interact with it in order to\nperform its tasks.\n\n## Installation\n\n`npm install --save-dev webpack-vertx-plugin`\n\n## Setup\nIn `webpack.config.js`:\n\n```js\nconst WebpackVertxPlugin = require('webpack-vertx-plugin');\n\nmodule.exports = {\n  ...\n  ...\n  plugins: [\n    new WebpackVertxPlugin({extractOnly: false})\n  ],\n  ...\n}\n```\n\n## Example\n\nInsert into your webpack.config.js:\n\n```js\nconst WebpackVertxPlugin = require('webpack-vertx-plugin');\nconst path = require('path');\n\nvar plugins = [];\n\nplugins.push(new WebpackVertxPlugin());\n\nvar config = {\n  entry: {\n    app: path.resolve(__dirname, 'src/app.js')\n  },\n  output: {\n    path: path.resolve(__dirname, 'dist'), // regular webpack\n    filename: 'bundle.js'\n  },\n  devServer: {\n    contentBase: path.resolve(__dirname, 'src') // dev server\n  },\n  plugins: plugins,\n  module: {\n    loaders: [\n      {test: /\\.js$/, loaders: 'babel'},\n      {test: /\\.scss$/, loader: 'style!css!scss?'},\n      {test: /\\.html$/, loader: 'html-loader'}\n    ]\n  }\n}\n\nmodule.exports = config;\n\n```\n\n### Config\n* `extractOnly`: boolean to only extract resources to `node_modules` (do not execute `mvn package` in the end of the build). **Default: false**\n* `verbose`: boolean to display the maven output. **Default: false**\n* `watchPattern`: a ant pattern to pass to vertx when watching for file changes, **Default: src/main/resources/\\*\\*/\\***\n* `verticle`: the name of the main verticle.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmlopes%2Fwebpack-vertx-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmlopes%2Fwebpack-vertx-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmlopes%2Fwebpack-vertx-plugin/lists"}