Skip to content

Commit

Permalink
Package as internal monorepo npm, remove top-level PoC module
Browse files Browse the repository at this point in the history
  • Loading branch information
fullofcaffeine committed May 22, 2021
1 parent 9333972 commit 11e6ee7
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 44 deletions.
41 changes: 0 additions & 41 deletions add-readable-js-assets-webpack-plugin.js

This file was deleted.

4 changes: 4 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@
"@wordpress/project-management-automation": "file:packages/project-management-automation",
"@wordpress/scripts": "file:packages/scripts",
"@wordpress/stylelint-config": "file:packages/stylelint-config",
"@wordpress/readable-js-assets-webpack-plugin": "file:packages/readable-js-assets-webpack-plugin",
"appium": "1.20.2",
"babel-jest": "26.6.3",
"babel-loader": "8.2.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/readable-js-assets-webpack-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wordpress/readable-js-assets-webpack-plugin",
"version": "1.0",
"version": "1.0.0",
"description": "Generate a readable JS file for each JS asset.",
"author": "The WordPress Contributors",
"license": "GPL-2.0-or-later",
Expand Down
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const DependencyExtractionWebpackPlugin = require( '@wordpress/dependency-extrac
/**
* Internal dependencies
*/
const AddReadableJsAssetsWebpackPlugin = require( './add-readable-js-assets-webpack-plugin' );
const ReadableJsAssetsWebpackPlugin = require( '@wordpress/readable-js-assets-webpack-plugin' );
const {
camelCaseDash,
} = require( '@wordpress/dependency-extraction-webpack-plugin/lib/util' );
Expand Down Expand Up @@ -305,7 +305,7 @@ module.exports = {
] )
),
new DependencyExtractionWebpackPlugin( { injectPolyfill: true } ),
new AddReadableJsAssetsWebpackPlugin(),
new ReadableJsAssetsWebpackPlugin(),
].filter( Boolean ),
watchOptions: {
ignored: [ '**/node_modules', '**/packages/*/src' ],
Expand Down

0 comments on commit 11e6ee7

Please sign in to comment.