diff --git a/assets/scss/ledyer-checkout-for-woocommerce.scss b/assets/scss/ledyer-checkout-for-woocommerce.scss index 6ca4063..97eb397 100644 --- a/assets/scss/ledyer-checkout-for-woocommerce.scss +++ b/assets/scss/ledyer-checkout-for-woocommerce.scss @@ -2,14 +2,14 @@ display: flex; flex-direction: column; align-items: center; +} - #lco-order-review, - #lco-iframe { - width: 100%; - } +#lco-order-review, +#lco-iframe { + width: 100%; +} - #lco-iframe { - display: flex; - justify-content: center; - } +#lco-iframe { + display: flex; + justify-content: center; } diff --git a/assets/styles/ledyer-checkout-for-woocommerce.css b/assets/styles/ledyer-checkout-for-woocommerce.css deleted file mode 100644 index 97eb397..0000000 --- a/assets/styles/ledyer-checkout-for-woocommerce.css +++ /dev/null @@ -1,15 +0,0 @@ -#lco-wrapper { - display: flex; - flex-direction: column; - align-items: center; -} - -#lco-order-review, -#lco-iframe { - width: 100%; -} - -#lco-iframe { - display: flex; - justify-content: center; -} diff --git a/webpack.config.js b/webpack.config.js index 3419feb..e45f850 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -31,7 +31,7 @@ const entryObject = ( paths ) => { */ module.exports = { ...WordPressConfig, - entry: entryObject( glob.sync( './assets/{css,js}/*.{css,js*}' ) ), + entry: entryObject( glob.sync( './assets/{scss,js}/*.{scss,js*}' ) ), output: { filename: '[name].js', path: path.resolve( process.cwd(), 'build' ),