Skip to content

Commit 7b6d656

Browse files
committed
.
1 parent 2d0e318 commit 7b6d656

File tree

5 files changed

+5
-40
lines changed

5 files changed

+5
-40
lines changed

biome.json

Lines changed: 0 additions & 32 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
"prepublishOnly": "npm run lint && npm run build",
1111
"test": "NODE_ENV='test' mocha -t 10000",
1212
"lint": "eslint",
13-
"lint-fix": "npm run lint -- --fix",
14-
"watch": "webpack --watch --mode development"
13+
"lint-fix": "npm run lint -- --fix"
1514
},
1615
"repository": {
1716
"type": "git",

src/s3_plugin.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ import {CloudFront} from '@aws-sdk/client-cloudfront'
1010
import {S3} from '@aws-sdk/client-s3'
1111
import {Upload} from '@aws-sdk/lib-storage'
1212

13+
import packageJson from '../package.json'
14+
1315
import {
1416
addSeperatorToPath,
1517
addTrailingS3Sep,
@@ -93,7 +95,7 @@ export default class S3Plugin {
9395
'.'
9496

9597
compiler.hooks.done.tapPromise(
96-
'webpack-s3-plugin',
98+
packageJson.name,
9799
async({compilation}) => {
98100
let error
99101

test/fixtures/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/* eslint-disable no-unused-vars */
2-
import * as css from './styles.css'
3-
/* eslint-enable no-unused-vars */
1+
import './styles.css'
42

53
var test = 'Eh',
64
pillow = function(a) {

test/upload_test.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,6 @@ describe('S3 Webpack Upload', function() {
167167
})
168168

169169
it('starts a CloudFront invalidation', function() {
170-
// Skip this test on CI, key does not have permission and we do not use this feature anyways
171-
if (process.env.CI) this.skip()
172170
var config,
173171
randomFile
174172

0 commit comments

Comments
 (0)