From a43f36c5f28e2f2ec0b70c72eec982c1461af5b9 Mon Sep 17 00:00:00 2001 From: wangpeng Date: Fri, 25 Oct 2019 17:15:17 +0800 Subject: [PATCH] fix module name --- build/rollup.config.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/build/rollup.config.js b/build/rollup.config.js index 1fa6b21..4387422 100644 --- a/build/rollup.config.js +++ b/build/rollup.config.js @@ -1,9 +1,6 @@ const path = require('path'); const pkg = require('../package.json'); -const resolve = require('rollup-plugin-node-resolve'); -// const commonjs = require('rollup-plugin-commonjs'); -// const babel = require('rollup-plugin-babel'); -// const json = require('rollup-plugin-json'); + const banner = `/* @license @@ -23,7 +20,7 @@ module.exports = { output: { file: uniqResolve('../lib/index.js'), format: 'umd', - name: 'crypto', + name: 'CryptoJS', banner } } \ No newline at end of file