0
我有兩個條目; bundle-a.js
和bundle-b.js
。Webpack 2:提供輸入名稱作爲變量導入的sass模塊
這兩個輸入包導入component.scss
。
我想預先component.scss
模塊與$bundle: '{entry-name}';
例如, $bundle: 'bundle-b';
這可能嗎?我假設裝載機或插件,但不知道從哪裏開始。
在此先感謝:)
我有兩個條目; bundle-a.js
和bundle-b.js
。Webpack 2:提供輸入名稱作爲變量導入的sass模塊
這兩個輸入包導入component.scss
。
我想預先component.scss
模塊與$bundle: '{entry-name}';
例如, $bundle: 'bundle-b';
這可能嗎?我假設裝載機或插件,但不知道從哪裏開始。
在此先感謝:)